mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:25:07 +00:00
Utilities: Support static assignment of the ARP table
This commit is contained in:
parent
7e40c17460
commit
bdaaff70cb
2 changed files with 80 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue