mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Meta+Kernel: Make clang-format-10 clean
This commit is contained in:
committed by
Andreas Kling
parent
fa62c5595e
commit
64cc3f51d0
Notes:
sideshowbarker
2024-07-19 02:14:43 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/64cc3f51d0a Pull-request: https://github.com/SerenityOS/serenity/pull/3541 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg
@@ -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*)ð, ethernet_frame_size });
|
||||
|
||||
Reference in New Issue
Block a user