diff options
Diffstat (limited to 'usr.sbin/arp')
-rw-r--r-- | usr.sbin/arp/arp.8 | 7 | ||||
-rw-r--r-- | usr.sbin/arp/arp.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8 index e8164fb..dc6c01b 100644 --- a/usr.sbin/arp/arp.8 +++ b/usr.sbin/arp/arp.8 @@ -47,6 +47,7 @@ .Fl a .Nm .Fl d Ar hostname +.Op Ar proxy .Nm .Fl d .Fl a @@ -84,7 +85,11 @@ A super-user may delete an entry for the host called .Ar hostname with the .Fl d -flag. May be combined with the +flag. +The +.Dq Li proxy +keyword is sometimes required when deleting published ARP entries. +This flag may be combined with the .Fl a flag to delete all entries. .It Fl n diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 815ca2e..3afd37d 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -562,7 +562,7 @@ usage(void) fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n", "usage: arp [-n] hostname", " arp [-n] -a", - " arp -d hostname", + " arp -d hostname [proxy]", " arp -d -a", " arp -s hostname ether_addr [temp] [pub]", " arp -S hostname ether_addr [temp] [pub]", |