summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-04-05 18:09:30 +0000
committerjca <jca@openbsd.org>2016-04-05 18:09:30 +0000
commitb1e26f8ee94273babd5956189aff94804742f6a6 (patch)
treedf0ca5e0b28dfce85af6a4978c928c67a512820a /usr.sbin/ndp
parentRemove mention of Turbo Mode from ath(4) since the driver doesn't support it (diff)
downloadwireguard-openbsd-b1e26f8ee94273babd5956189aff94804742f6a6.tar.xz
wireguard-openbsd-b1e26f8ee94273babd5956189aff94804742f6a6.zip
etheraddr -> ether_addr, as in arp(8); discussed with jmc@
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp.810
-rw-r--r--usr.sbin/ndp/ndp.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8
index 5bbea46a978..e93d004cbe5 100644
--- a/usr.sbin/ndp/ndp.8
+++ b/usr.sbin/ndp/ndp.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ndp.8,v 1.36 2016/04/04 11:37:09 jca Exp $
+.\" $OpenBSD: ndp.8,v 1.37 2016/04/05 18:09:30 jca Exp $
.\" $KAME: ndp.8,v 1.28 2002/07/17 08:46:33 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 4 2016 $
+.Dd $Mdocdate: April 5 2016 $
.Dt NDP 8
.Os
.Sh NAME
@@ -43,7 +43,7 @@
.Op Fl d Ar hostname
.Op Fl f Ar filename
.Op Fl i Ar interface Op Ar flag ...
-.Op Fl s Ar nodename etheraddr Oo Cm temp Oc Op Cm proxy
+.Op Fl s Ar nodename ether_addr Oo Cm temp Oc Op Cm proxy
.Op Fl V Ar rdomain
.Op Ar hostname
.Sh DESCRIPTION
@@ -119,7 +119,7 @@ Parse the file specified by
.Ar filename .
Entries in the file should be of the form:
.Bd -ragged -offset indent -compact
-.Ar nodename etheraddr
+.Ar nodename ether_addr
.Op Ar temp
.Op Ar proxy
.Ed
@@ -177,7 +177,7 @@ Flush all the entries in the default router list.
.It Fl r
Show the default router list.
.It Xo
-.Fl s Ar nodename etheraddr
+.Fl s Ar nodename ether_addr
.Op Cm temp
.Op Cm proxy
.Xc
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index c5dbc38738c..a6bd3dc93f1 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.70 2016/04/04 11:37:09 jca Exp $ */
+/* $OpenBSD: ndp.c,v 1.71 2016/04/05 18:09:30 jca Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -800,7 +800,7 @@ usage(void)
printf("usage: ndp [-nrt] [-a | -c | -p] [-H | -P | -R] ");
printf("[-A wait] [-d hostname]\n");
printf("\t[-f filename] [-i interface [flag ...]]\n");
- printf("\t[-s nodename etheraddr [temp] [proxy]] ");
+ printf("\t[-s nodename ether_addr [temp] [proxy]] ");
printf("[-V rdomain] [hostname]\n");
exit(1);
}