summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.conf.5
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-04-24 14:56:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-04-24 14:56:10 +0000
commitcc52d1097f1e3e8607e326a650a6fe42b51815ea (patch)
tree95f42c8a68a2f741ed6d86050b944ee026166ed6 /usr.sbin/bgpd/bgpd.conf.5
parent850a8e540919ab6c5bdbf31e197effac64e235bb (diff)
take a stab at documenting when arguments need quoted, and valid macro
characters; prompted by a diff from robert peichaer org thanks gilles and henning for feedback ok deraadt zinke
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.511
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index a28515c04fa..d380e8e20a4 100644
--- a/usr.sbin/bgpd/bgpd.conf.5
+++ b/usr.sbin/bgpd/bgpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpd.conf.5,v 1.117 2012/04/07 17:25:51 claudio Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.118 2012/04/24 14:56:09 jmc Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 7 2012 $
+.Dd $Mdocdate: April 24 2012 $
.Dt BGPD.CONF 5
.Os
.Sh NAME
@@ -64,6 +64,9 @@ and extend to the end of the current line.
Care should be taken when commenting out multi-line text:
the comment is effective until the end of the entire block.
.Pp
+Argument names not beginning with a letter, digit, or underscore
+must be quoted.
+.Pp
Additional configuration files can be included with the
.Ic include
keyword, for example:
@@ -72,8 +75,8 @@ include "/etc/bgpd/bgpd-10.0.0.1.filter"
.Ed
.Sh MACROS
Macros can be defined that will later be expanded in context.
-Macro names must start with a letter, and may contain letters, digits
-and underscores.
+Macro names must start with a letter, digit, or underscore,
+and may contain any of those characters.
Macro names may not be reserved words (for example,
.Ic AS ,
.Ic neighbor ,