mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-04-29 08:46:28 +03:00
Fix enabling/disabling multicast
This commit is contained in:
@@ -59,8 +59,8 @@ func NewYggdrasilTransport(log *log.Logger, sk ed25519.PrivateKey, pk ed25519.Pu
|
||||
options := []multicast.SetupOption{
|
||||
multicast.MulticastInterface{
|
||||
Regex: regexp.MustCompile(".*"),
|
||||
Beacon: true,
|
||||
Listen: true,
|
||||
Beacon: mcast,
|
||||
Listen: mcast,
|
||||
},
|
||||
}
|
||||
if _, err = multicast.New(ygg, glog, options...); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user