mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
committed by
Ali Mohammad Pur
parent
ec2f0fc8eb
commit
a42383523a
@@ -64,6 +64,7 @@ NetworkAdapter::~NetworkAdapter()
|
||||
void NetworkAdapter::send_packet(ReadonlyBytes packet)
|
||||
{
|
||||
m_packets_out++;
|
||||
m_bytes_out += packet.size();
|
||||
send_raw(packet);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user