diff options
-rw-r--r-- | distrib/sets/lists/base/mi | 1 | ||||
-rw-r--r-- | distrib/sets/lists/man/mi | 1 | ||||
-rw-r--r-- | usr.sbin/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/ndp/Makefile | 12 | ||||
-rw-r--r-- | usr.sbin/ndp/gnuc.h | 2 | ||||
-rw-r--r-- | usr.sbin/ndp/ndp.8 | 20 | ||||
-rw-r--r-- | usr.sbin/ndp/ndp.c | 2 |
7 files changed, 31 insertions, 11 deletions
diff --git a/distrib/sets/lists/base/mi b/distrib/sets/lists/base/mi index d81ee9c826d..51300846e56 100644 --- a/distrib/sets/lists/base/mi +++ b/distrib/sets/lists/base/mi @@ -2669,3 +2669,4 @@ ./usr/sbin/ifmcstat ./usr/sbin/rtsold ./sbin/rtsol +./usr.sbin/ndp diff --git a/distrib/sets/lists/man/mi b/distrib/sets/lists/man/mi index 0b3d1b1c245..9fcd0a38545 100644 --- a/distrib/sets/lists/man/mi +++ b/distrib/sets/lists/man/mi @@ -1613,3 +1613,4 @@ ./usr/share/man/cat8/ifmcstat.0 ./usr/share/man/cat8/rtsold.0 ./usr/share/man/cat8/rtsol.0 +./usr/share/man/cat8/ndp.0 diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index d74df49368a..99e58ed9230 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.48 1999/12/09 15:18:15 itojun Exp $ +# $OpenBSD: Makefile,v 1.49 1999/12/10 07:26:56 itojun Exp $ # not yet done: catman @@ -17,7 +17,7 @@ SUBDIR= ac accton adduser amd arp bootpd bootpgw bootpef bootptest \ vipw vnconfig zdump zic # IPv6 -SUBDIR+=ifmcstat rtsold +SUBDIR+=ifmcstat ndp rtsold .if (${AFS} == "yes") SUBDIR+=afs diff --git a/usr.sbin/ndp/Makefile b/usr.sbin/ndp/Makefile new file mode 100644 index 00000000000..6345ca9e9bb --- /dev/null +++ b/usr.sbin/ndp/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 1999/12/10 07:26:56 itojun Exp $ + +.PATH: ${.CURDIR}/../tcpdump + +PROG= ndp +SRCS= ndp.c gmt2local.c +MAN= ndp.8 # ndp.4 + +CPPFLAGS+=-DINET6 +CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../tcpdump + +.include <bsd.prog.mk> diff --git a/usr.sbin/ndp/gnuc.h b/usr.sbin/ndp/gnuc.h index 65e330a390f..8275a7ae0f1 100644 --- a/usr.sbin/ndp/gnuc.h +++ b/usr.sbin/ndp/gnuc.h @@ -1 +1,3 @@ +/* $OpenBSD: gnuc.h,v 1.2 1999/12/10 07:26:56 itojun Exp $ */ + /* this is dummy to pacify gmt2local.c. */ diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8 index 1d0a736d0a2..c965a4d8367 100644 --- a/usr.sbin/ndp/ndp.8 +++ b/usr.sbin/ndp/ndp.8 @@ -1,3 +1,5 @@ +.\" $OpenBSD: ndp.8,v 1.2 1999/12/10 07:26:56 itojun Exp $ +.\" .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. .\" All rights reserved. .\" @@ -25,11 +27,11 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: ndp.8,v 1.1 1999/12/10 07:17:07 itojun Exp $ +.\" KAME Id: ndp.8,v 1.1.1.1 1999/12/10 07:17:07 itojun Exp .\" .Dd May 17, 1998 .Dt NDP 8 -.Os KAME +.Os .\" .Sh NAME .Nm ndp @@ -55,9 +57,9 @@ .Ar filename .Nm ndp .Fl H -.Nm ndp -.Fl I -.Ar interface +.\" .Nm ndp +.\" .Fl I +.\" .Ar interface .Nm ndp .Fl i .Ar interface @@ -100,10 +102,10 @@ Parse the file specified by .It Fl H Harmonize consistency between the routing table and the default router list; install the top entry of the list into the kernel routing table. -.It Fl I -.Ar interface -Specifies the default interface used as the default route when -there is no default router. +.\" .It Fl I +.\" .Ar interface +.\" Specifies the default interface used as the default route when +.\" there is no default router. .It Fl i .Ar interface view ND information for specified interface. diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index 36ded8484f7..657358cea72 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ndp.c,v 1.2 1999/12/10 07:26:56 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. * All rights reserved. |