mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Fix lint errors
This commit is contained in:
parent
c7ffbc05a5
commit
90f9be38c5
3 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue