Skip to content

Commit

Permalink
Merge pull request #909 from alexadhy/bandwidth-received-fix
Browse files Browse the repository at this point in the history
Bandwidth received fix
  • Loading branch information
jdknives authored Oct 5, 2021
2 parents e353596 + 2ea386e commit f4c24f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/network_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (s *networkStats) BandwidthReceived() uint64 {

func (s *networkStats) AddBandwidthReceived(amount uint64) {
atomic.AddUint64(&s.bandwidthReceived, amount)
atomic.AddUint64(&s.bandwidthReceived, amount)
atomic.AddUint64(&s.totalBandwidthReceived, amount)
}

func (s *networkStats) RemoteThroughput() int64 {
Expand Down

0 comments on commit f4c24f4

Please sign in to comment.