mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-18 00:36:07 +00:00
Fix lint errors
This commit is contained in:
@ -300,7 +300,7 @@ func (m *Multicast) _announce() {
|
||||
if li, err := m.core.Listen(u, iface.Name); err == nil {
|
||||
m.log.Debugln("Started multicasting on", iface.Name)
|
||||
// Store the listener so that we can stop it later if needed
|
||||
linfo = &listenerInfo{listener: li, time: time.Now()}
|
||||
linfo = &listenerInfo{listener: li, time: time.Now(), port: info.port}
|
||||
m.listeners[iface.Name] = linfo
|
||||
} else {
|
||||
m.log.Warnln("Not multicasting on", iface.Name, "due to error:", err)
|
||||
|
Reference in New Issue
Block a user