CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/08/27 14:50:36
Modified files:
usr.sbin/arp : arp.8 arp.c
Log message:
Honour -n when deleting entries, sync parse_host() from ndp(8)
arp(8) already has a common getinetaddr() but it ignores -n for delete() and
uses gethostbyname(3), so simply replace it with parse_host() from ndp.c
instead of changing behaviour around the old API.
In set(), make host[] and eaddr[] const since all functions receiving those
variables as parameters expect const anyway.
OK bluhm