Skip to content

Conversation

@zhhyu7
Copy link
Contributor

@zhhyu7 zhhyu7 commented Jan 14, 2026

Summary

Improve the behavior of the ARP table so that the manually configured ARP table has the highest priority, can only be manually modified to other values, otherwise will never change again, and will not time out.

Impact

command arp -s

Testing

sim:matter

NuttShell (NSH) NuttX-12.12.0
MOTD: username=admin password=Administrator
nsh> arp
IP Address   Ethernet Address  Interface
nsh> arp -s 10.0.1.1 11:22:33:44:55:66
nsh> arp
IP Address   Ethernet Address  Interface
10.0.1.1     11:22:33:44:55:66 eth0
nsh> arp -s 10.0.1.1 11:22:33:44:55:67
nsh> arp
IP Address   Ethernet Address  Interface
10.0.1.1     11:22:33:44:55:67 eth0
nsh> arp
IP Address   Ethernet Address  Interface
10.0.1.1     11:22:33:44:55:67 eth0
nsh> 
nsh> 

Improve the behavior of the ARP table so that the manually configured
ARP table has the highest priority, can only be manually modified to
other values, otherwise will never change again, and will not time out.

Signed-off-by: zhanghongyu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants