diff options
author | Anton Kling <anton@kling.gg> | 2024-06-22 14:34:21 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-22 14:34:21 +0200 |
commit | 01b88a7bf9fb4c78bd632bfccb06f3d320a21fd5 (patch) | |
tree | 20d9a6dcc155e7c8b6e067c6ba6d7b42df4365fd /kernel/network/udp.c | |
parent | af313dec6b7698b6f948b97669aa7be91717a451 (diff) |
Kernel stuff
Diffstat (limited to 'kernel/network/udp.c')
-rw-r--r-- | kernel/network/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/network/udp.c b/kernel/network/udp.c index 0c8d6e9..c0a5237 100644 --- a/kernel/network/udp.c +++ b/kernel/network/udp.c @@ -24,7 +24,8 @@ void send_udp_packet(struct sockaddr_in *src, const struct sockaddr_in *dst, kfree(packet); } -void handle_udp(ipv4_t src_ip, ipv4_t dst_ip, const u8 *payload, u32 packet_length) { +void handle_udp(ipv4_t src_ip, ipv4_t dst_ip, const u8 *payload, + u32 packet_length) { (void)dst_ip; if (packet_length < sizeof(u16[4])) { return; |