4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-06 02:54:12 +00:00

Version 0.4.6

This commit is contained in:
Neil Alexander
2022-10-26 18:25:48 +01:00
parent b8a2d9f125
commit 4c66a13b93
17 changed files with 174 additions and 115 deletions

View File

@ -335,10 +335,11 @@ func run(args yggArgs, ctx context.Context) {
options := []multicast.SetupOption{}
for _, intf := range cfg.MulticastInterfaces {
options = append(options, multicast.MulticastInterface{
Regex: regexp.MustCompile(intf.Regex),
Beacon: intf.Beacon,
Listen: intf.Listen,
Port: intf.Port,
Regex: regexp.MustCompile(intf.Regex),
Beacon: intf.Beacon,
Listen: intf.Listen,
Port: intf.Port,
Priority: intf.Priority,
})
}
if n.multicast, err = multicast.New(n.core, logger, options...); err != nil {