mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel: Update the TX byte counter when sending network packets
This previously worked but was broken by b436dd1
.
This commit is contained in:
parent
ec2f0fc8eb
commit
a42383523a
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ NetworkAdapter::~NetworkAdapter()
|
|||
void NetworkAdapter::send_packet(ReadonlyBytes packet)
|
||||
{
|
||||
m_packets_out++;
|
||||
m_bytes_out += packet.size();
|
||||
send_raw(packet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue