Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ndp Sort some lists. Use EXIT STATUS instead of RET...
details: https://anonhg.NetBSD.org/src/rev/26f905d65d35
branches: trunk
changeset: 829837:26f905d65d35
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Feb 14 10:13:25 2018 +0000
description:
Sort some lists. Use EXIT STATUS instead of RETURN VALUES.
diffstat:
usr.sbin/ndp/ndp.8 | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diffs (94 lines):
diff -r ceb616588b5b -r 26f905d65d35 usr.sbin/ndp/ndp.8
--- a/usr.sbin/ndp/ndp.8 Wed Feb 14 09:13:03 2018 +0000
+++ b/usr.sbin/ndp/ndp.8 Wed Feb 14 10:13:25 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ndp.8,v 1.28 2018/02/14 06:52:41 maxv Exp $
+.\" $NetBSD: ndp.8,v 1.29 2018/02/14 10:13:25 wiz Exp $
.\" $KAME: ndp.8,v 1.33 2005/10/19 14:57:42 suz Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -78,6 +78,13 @@
command manipulates the address mapping table
used by the Neighbor Discovery Protocol (NDP).
.Bl -tag -width Ds
+.It Fl A Ar wait
+Repeat
+.Fl a
+.Pq dump NDP entries
+every
+.Ar wait
+seconds.
.It Fl a
Dump the currently existing NDP entries.
The following information will be printed:
@@ -100,20 +107,20 @@
State of the neighbor cache entry, as a single letter:
.Pp
.Bl -tag -width indent -compact
+.It D
+Delay
+.It I
+Incomplete
.It N
Nostate
-.It W
-Waitdelete
-.It I
-Incomplete
+.It P
+Probe
.It R
Reachable
.It S
Stale
-.It D
-Delay
-.It P
-Probe
+.It W
+Waitdelete
.It ?
Unknown state (should never happen).
.El
@@ -124,13 +131,6 @@
The field could be followed by a decimal number,
which means the number of NS probes the node has sent during the current state.
.El
-.It Fl A Ar wait
-Repeat
-.Fl a
-.Pq dump NDP entries
-every
-.Ar wait
-seconds.
.It Fl c
Erase all the NDP entries.
.It Fl d
@@ -236,14 +236,14 @@
.El
.It Fl n
Do not try to resolve numeric addresses to hostnames.
-.It Fl p
-Show prefix list.
.It Fl P
Flush all the entries in the prefix list.
+.It Fl p
+Show prefix list.
+.It Fl R
+Flush all the entries in the default router list.
.It Fl r
Show default router list.
-.It Fl R
-Flush all the entries in the default router list.
.It Fl s
Register an NDP entry for a node.
The entry will be permanent unless the word
@@ -263,7 +263,7 @@
.Fl A .
.El
.\"
-.Sh RETURN VALUES
+.Sh EXIT STATUS
The
.Nm
command will exit with 0 on success, and non-zero on errors.
Home |
Main Index |
Thread Index |
Old Index