summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorbrapru <brapru@pm.me>2021-07-24 20:29:48 -0400
committerAndreas Kling <kling@serenityos.org>2021-07-25 17:57:08 +0200
commitbdaaff70cb6c5f355b82882cdda4a82225631775 (patch)
treea7d822da5c321b04ec6f24d9dab22c4a7baf4f72 /Kernel
parent7e40c174601e5ab9f71bb06e6c70cd6d68d4502f (diff)
downloadserenity-bdaaff70cb6c5f355b82882cdda4a82225631775.zip
Utilities: Support static assignment of the ARP table
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Net/NetworkTask.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkTask.cpp b/Kernel/Net/NetworkTask.cpp
index fc4fc9e82b..bb408781b2 100644
--- a/Kernel/Net/NetworkTask.cpp
+++ b/Kernel/Net/NetworkTask.cpp
@@ -150,7 +150,6 @@ void handle_arp(const EthernetFrameHeader& eth, size_t frame_size)
if (!packet.sender_hardware_address().is_zero() && !packet.sender_protocol_address().is_zero()) {
// Someone has this IPv4 address. I guess we can try to remember that.
// FIXME: Protect against ARP spamming.
- // FIXME: Support static ARP table entries.
update_arp_table(packet.sender_protocol_address(), packet.sender_hardware_address(), UpdateArp::Set);
}