mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-04 23:40:26 +08:00
add logs
This commit is contained in:
@@ -98,7 +98,7 @@ func (m *Me) listen() (conn *net.UDPConn, err error) {
|
||||
logrus.Warnln("[link] packet dst", packet.Dst.String()+":"+strconv.Itoa(int(packet.DstPort)), "is not in peers")
|
||||
}
|
||||
} else {
|
||||
logrus.Warnln("[link] packet to", packet.Dst, "is refused")
|
||||
logrus.Warnln("[link] packet from", packet.Src, "to", packet.Dst, "is refused")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user