diff options
Diffstat (limited to 'src/receive.go')
-rw-r--r-- | src/receive.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.go b/src/receive.go index e063c99..d97ca41 100644 --- a/src/receive.go +++ b/src/receive.go @@ -540,7 +540,7 @@ func (peer *Peer) RoutineSequentialReceiver() { return } - atomic.AddUint64(&peer.rxBytes, uint64(len(elem.packet))) + atomic.AddUint64(&peer.stats.rxBytes, uint64(len(elem.packet))) device.addToInboundQueue(device.queue.inbound, elem) }() } |