Fix for received bytes, when packets have been processed
This commit is contained in:
parent
3d4431da9a
commit
7584e3e44e
@ -80,7 +80,7 @@ class Receive extends Base
|
||||
return $this->completed->count();
|
||||
|
||||
case 'total_recv_bytes':
|
||||
return $this->completed->sum(function($item) { return $item->size; });
|
||||
return $this->completed->sum(function($item) { return $item->recvsize; });
|
||||
|
||||
default:
|
||||
throw new \Exception('Unknown key: '.$key);
|
||||
|
Loading…
Reference in New Issue
Block a user