mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-14 21:28:57 +00:00
modify TcpListener
This commit is contained in:
@ -152,7 +152,7 @@ func (m *Multicast) announce() {
|
||||
for name, listener := range m.listeners {
|
||||
// Prepare our stop function!
|
||||
stop := func() {
|
||||
listener.Stop <- true
|
||||
listener.Stop()
|
||||
delete(m.listeners, name)
|
||||
m.log.Debugln("No longer multicasting on", name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user