diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-22 00:10:34 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-22 00:10:34 +0000 |
commit | 726b209e53304d863de5f8e18010721eab9a30c7 (patch) | |
tree | 65c314a20c416da2fbbbf0b54059907935ed4a3f /usr.sbin | |
parent | 1d2bcba25a9619adc576ba3180caa2d3a7cabc5b (diff) |
my bloody attempt at a manpage. to be fleshed out.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/bgpd.8 | 65 |
2 files changed, 67 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/Makefile b/usr.sbin/bgpd/Makefile index 40ed15f99d4..bf03b5cb008 100644 --- a/usr.sbin/bgpd/Makefile +++ b/usr.sbin/bgpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2003/12/20 20:46:08 henning Exp $ +# $OpenBSD: Makefile,v 1.5 2003/12/22 00:10:33 henning Exp $ PROG= bgpd SRCS= bgpd.c buffer.c session.c log.c parse.y config.c imsg.c \ @@ -9,7 +9,7 @@ CLFAGS+= -Wmissing-declarations -Wredundant-decls CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare YFLAGS= -NOMAN= +MAN= bgpd.8 CFLAGS+= -Wall diff --git a/usr.sbin/bgpd/bgpd.8 b/usr.sbin/bgpd/bgpd.8 new file mode 100644 index 00000000000..441efc3a561 --- /dev/null +++ b/usr.sbin/bgpd/bgpd.8 @@ -0,0 +1,65 @@ +.\" $OpenBSD: bgpd.8,v 1.1 2003/12/22 00:10:33 henning Exp $ +.\" +.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd December 22, 2003 +.Dt BGPD 8 +.Os +.Sh NAME +.Nm bgpd +.Nd "Border Gateway Protocol daemon" +.Sh SYNOPSIS +.Nm bgpd +.Bk -words +.Op Fl dv +.Op Fl D Ar macro=value +.Op Fl f Ar file +.Ek +.Sh DESCRIPTION +The +.Nm +daemon implements the Border Gateway Protocol version 4 as described +in RFC 1771. +The options are as follows: +.Bl -tag -width Ds +.It Fl d +Do not daemonize and log to stderr. +.It Fl D Ar macro=value +Define +.Ar macro +to be set to +.Ar value +on the command line. +Overrides the definition of +.Ar macro +in the configuration file. +.It Fl f Ar file +Specify an alternate location, +.Ar file , +for the configuration file. +.It Fl v +Produce more verbose output. +.El +.Sh FILES +.Bl -tag -width "/etc/bgpd.conf" -compact +.It Pa /etc/bgpd.conf +.Nm +configuration file. +.El +.Sh HISTORY +The +.Nm +program first appeared in +.Ox 3.5 . |