mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
No DEBUG_ calls from src/yggdrasil
This commit is contained in:
parent
eac1c85a62
commit
196a14d8d2
5 changed files with 47 additions and 7 deletions
|
@ -68,7 +68,7 @@ func (m *multicast) start() error {
|
|||
go m.listen()
|
||||
go m.announce()
|
||||
}
|
||||
return nil
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *multicast) announce() {
|
||||
|
@ -152,7 +152,7 @@ func (m *multicast) listen() {
|
|||
saddr := addr.String()
|
||||
//if _, isIn := n.peers[saddr]; isIn { continue }
|
||||
//n.peers[saddr] = struct{}{}
|
||||
m.core.DEBUG_addTCPConn(saddr)
|
||||
m.core.tcp.connect(saddr)
|
||||
//fmt.Println("DEBUG:", "added multicast peer:", saddr)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue