summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-02-08 21:05:52 +0000
committerphk <phk@FreeBSD.org>1996-02-08 21:05:52 +0000
commit329ca3c57c33c4266ee9b221159b11e9980fd242 (patch)
treeebe2bef9cf8996f80af250458b9dfe3ba69141b4 /usr.sbin/arp/arp.8
parenta5442098738be2631eb0fbc49414a100ba9f894f (diff)
downloadFreeBSD-src-329ca3c57c33c4266ee9b221159b11e9980fd242.zip
FreeBSD-src-329ca3c57c33c4266ee9b221159b11e9980fd242.tar.gz
Clean up warnings.
fix return/exit codes in some cases. Add -S which will delete any old entry first. Add "auto" in proxy case, so it finds the right interface automatically.
Diffstat (limited to 'usr.sbin/arp/arp.8')
-rw-r--r--usr.sbin/arp/arp.812
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8
index 51fa68c..19bafed 100644
--- a/usr.sbin/arp/arp.8
+++ b/usr.sbin/arp/arp.8
@@ -49,6 +49,10 @@
.Op Ar temp
.Op Ar pub
.Nm arp
+.Fl S Ar hostname ether_addr
+.Op Ar temp
+.Op Ar pub
+.Nm arp
.Fl f Ar filename
.Sh DESCRIPTION
The
@@ -95,6 +99,14 @@ server,
responding to requests for
.Ar hostname
even though the host address is not its own.
+In this case the ether_addr can be given as `auto''
+in which case the interfaces on this host will be examined,
+and if one of them is found to occupy the same subnet, its
+ether_addr will be used.
+.It Fl S Ar hostname ether_addr
+Is just like
+.Fl s
+except any existing arp entry for this host will be deleted first.
.It Fl f
Causes the file
.Ar filename
OpenPOWER on IntegriCloud