Meta+Kernel: Make clang-format-10 clean

This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
commit 64cc3f51d0
Notes: sideshowbarker 2024-07-19 02:14:43 +09:00
61 changed files with 123 additions and 118 deletions

View file

@ -125,7 +125,7 @@ int NetworkAdapter::send_ipv4(const MACAddress& destination_mac, const IPv4Addre
ipv4.set_checksum(ipv4.compute_checksum());
m_packets_out++;
m_bytes_out += ethernet_frame_size;
if (!payload.read(ipv4.payload(), payload_size))
return -EFAULT;
send_raw({ (const u8*)&eth, ethernet_frame_size });