mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-28 14:50:26 +08:00
add logs
This commit is contained in:
@@ -113,6 +113,7 @@ func (m *Me) ListenFromNIC() {
|
|||||||
packet = buf
|
packet = buf
|
||||||
}
|
}
|
||||||
n, err := m.nic.Read(packet[off:])
|
n, err := m.nic.Read(packet[off:])
|
||||||
|
logrus.Debugln("[me] recv", n, "bytes to send from nic")
|
||||||
if isrev {
|
if isrev {
|
||||||
off = 0
|
off = 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user