mirror of
https://github.com/safing/portmaster
synced 2025-09-17 02:09:41 +00:00
Update BytesReceived/Sent field names
This commit is contained in:
parent
e70fd9abd7
commit
f0ebc6e72f
6 changed files with 29 additions and 24 deletions
|
@ -133,10 +133,10 @@ func reportBandwidth(ctx context.Context, objs bpfObjects, bandwidthUpdates chan
|
|||
false,
|
||||
)
|
||||
update := &packet.BandwidthUpdate{
|
||||
ConnID: connID,
|
||||
RecvBytes: skInfo.Rx,
|
||||
SentBytes: skInfo.Tx,
|
||||
Method: packet.Absolute,
|
||||
ConnID: connID,
|
||||
BytesReceived: skInfo.Rx,
|
||||
BytesSent: skInfo.Tx,
|
||||
Method: packet.Absolute,
|
||||
}
|
||||
select {
|
||||
case bandwidthUpdates <- update:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue