mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +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
|
@ -64,6 +64,7 @@ NetworkAdapter::~NetworkAdapter()
|
|||
void NetworkAdapter::send_packet(ReadonlyBytes packet)
|
||||
{
|
||||
m_packets_out++;
|
||||
m_bytes_out += packet.size();
|
||||
send_raw(packet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue