Skip to content

Commit

Permalink
More debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
vikulin committed Jun 20, 2024
1 parent e995f9c commit 66fb4ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/multicast/multicast.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ func (m *Multicast) listen() {
ip := bs[begin:end]
port := binary.BigEndian.Uint16(bs[end:nBytes])
anAddr := net.TCPAddr{IP: ip, Port: int(port)}
m.log.Infoln("Multicat ResolveTCPAddr")
addr, err := net.ResolveTCPAddr("tcp6", anAddr.String())
if err != nil {
m.log.Infoln("ResolveTCPAddr failed on", anAddr.String())
Expand All @@ -421,6 +422,8 @@ func (m *Multicast) listen() {
if err := m.core.CallPeer(u, from.Zone); err != nil {
m.log.Infoln("Call from multicast failed:", err)
}
} else {
m.log.Infoln("Multicat !ok")
}
}
}

0 comments on commit 66fb4ac

Please sign in to comment.