diff --git a/gold/link/listen.go b/gold/link/listen.go index f780b5b..e2da4a6 100644 --- a/gold/link/listen.go +++ b/gold/link/listen.go @@ -55,7 +55,7 @@ func (m *Me) listen() (conn *net.UDPConn, err error) { i-- continue } - recvtotlcnt += len(lbf) + recvtotlcnt += n recvloopcnt++ if recvloopcnt >= 4096 { now := time.Now().UnixMilli()