From 4cd21e8c8d61ab96940a644c3718e131ab999232 Mon Sep 17 00:00:00 2001 From: archie Date: Thu, 1 Feb 2001 21:23:16 +0000 Subject: [PATCH] Revert previous checkin ("proxy" is required in some instances). Add a note to that effect to the man page. --- usr.sbin/arp/arp.8 | 7 ++++++- 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 e8164fb917ff..dc6c01b91689 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 815ca2e3f5a6..3afd37df8775 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]",