summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2021-09-01 15:06:48 +0000
committerJob Snijders <job@cvs.openbsd.org>2021-09-01 15:06:48 +0000
commitb6363de37cc48568cd448149b90c7591eb56821c (patch)
treec6f967adb4410e29917dce1c22c1ad65f7e89a78 /usr.sbin/bgpd
parent9c44822d56002b591c9947ff2a16660b2031d8ac (diff)
Clarify maxlen is optional in roa-set
OK claudio@
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.58
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index 5fb003fb6ea..b77f0719cad 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.214 2021/09/01 12:39:52 claudio Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.215 2021/09/01 15:06:47 job Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -489,7 +489,9 @@ prefix-set as64496set { 192.0.2.0/24 prefixlen >= 26,
.Pp
.It Xo
.Ic roa-set
-.Ic { Ar address Ns Li / Ns Ar len Ic maxlen Ar mlen Ic source-as Ar asn
+.Ic { Ar address Ns Li / Ns Ar len
+.Op Ic maxlen Ar mlen
+.Ic source-as Ar asn
.Oo Ic expires Ar seconds Oc ... Ic }
.Xc
The
@@ -503,7 +505,7 @@ and the Origin Validation State (OVS) is set.
.Ic expires
can be set to the seconds since Epoch until when this VRP is valid.
.Bd -literal -offset indent
-roa-set { 192.0.2.0/24 maxlen 24 source-as 64511
+roa-set { 192.0.2.0/23 maxlen 24 source-as 64511
203.0.113.0/24 source-as 64496 }
.Ed
.Pp