diff options
Diffstat (limited to 'src/send.go')
-rw-r--r-- | src/send.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/send.go b/src/send.go index ca42934..7cdb806 100644 --- a/src/send.go +++ b/src/send.go @@ -379,7 +379,8 @@ func (peer *Peer) RoutineSequentialSender() { if err != nil { return } - atomic.AddUint64(&peer.txBytes, uint64(len(elem.packet))) + + atomic.AddUint64(&peer.stats.txBytes, uint64(len(elem.packet))) peer.TimerResetKeepalive() }() |