Fix lint errors

This commit is contained in:
Neil Alexander 2022-04-17 17:56:54 +01:00
parent c7ffbc05a5
commit 90f9be38c5
3 changed files with 3 additions and 4 deletions

View file

@ -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)