diff options
author | archie <archie@FreeBSD.org> | 2001-02-01 21:23:16 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2001-02-01 21:23:16 +0000 |
commit | 60dc905d0accdd8286955522ac1d44b24cb6d4ac (patch) | |
tree | c34536c18b89266069c1d5a6b1fc8a2b52e82540 /usr.sbin/arp | |
parent | 5540aaf5000aba8f7310a691879f39c3f4d9dc62 (diff) | |
download | FreeBSD-src-60dc905d0accdd8286955522ac1d44b24cb6d4ac.zip FreeBSD-src-60dc905d0accdd8286955522ac1d44b24cb6d4ac.tar.gz |
Revert previous checkin ("proxy" is required in some instances).
Add a note to that effect to the man page.
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]", |