summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-09-08 08:00:22 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-09-08 08:00:22 +0000
commit85193f22dc775826582893950a3ce6e3c7d5d2fb (patch)
tree05e5b7b64eda7632e204b5ddf903dc3c7b295139 /etc
parente08f5db11ac8016aafec0951d9087de9c45cb6f7 (diff)
Remove optional commas from example config. In the future these optional
commas may become a syntax error.
Diffstat (limited to 'etc')
-rw-r--r--etc/examples/bgpd.conf26
1 files changed, 13 insertions, 13 deletions
diff --git a/etc/examples/bgpd.conf b/etc/examples/bgpd.conf
index d0765d1b642..bbb894397d9 100644
--- a/etc/examples/bgpd.conf
+++ b/etc/examples/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.11 2018/08/28 17:52:16 job Exp $
+# $OpenBSD: bgpd.conf,v 1.12 2018/09/08 08:00:21 claudio Exp $
# example bgpd configuration file, see bgpd.conf(5)
# define our own ASN as a macro
@@ -96,18 +96,18 @@ match from any community GRACEFUL_SHUTDOWN set { localpref 0 }
# See http://bgpfilterguide.nlnog.net/guides/bogon_prefixes/ for
# an elaboration why each prefix is a bogon
prefix-set bogons { \
- 0.0.0.0/8 or-longer, 10.0.0.0/8 or-longer, \
- 100.64.0.0/10 or-longer, 127.0.0.0/8 or-longer, \
- 169.254.0.0/16 or-longer, 172.16.0.0/12 or-longer, \
- 192.0.2.0/24 or-longer, 192.88.99.0/24 or-longer, \
- 192.168.0.0/16 or-longer, 198.18.0.0/15 or-longer, \
- 198.51.100.0/24 or-longer, 203.0.113.0/24 or-longer, \
- 224.0.0.0/4 or-longer, 240.0.0.0/4 or-longer, \
- ::/8 or-longer, 0100::/64 or-longer, \
- 2001:2::/48 or-longer, 2001:10::/28 or-longer, \
- 2001:db8::/32 or-longer, 2002::/16 or-longer, \
- 3ffe::/16 or-longer, fc00::/7 or-longer, \
- fe80::/10 or-longer, fec0::/10 or-longer, \
+ 0.0.0.0/8 or-longer 10.0.0.0/8 or-longer \
+ 100.64.0.0/10 or-longer 127.0.0.0/8 or-longer \
+ 169.254.0.0/16 or-longer 172.16.0.0/12 or-longer \
+ 192.0.2.0/24 or-longer 192.88.99.0/24 or-longer \
+ 192.168.0.0/16 or-longer 198.18.0.0/15 or-longer \
+ 198.51.100.0/24 or-longer 203.0.113.0/24 or-longer \
+ 224.0.0.0/4 or-longer 240.0.0.0/4 or-longer \
+ ::/8 or-longer 0100::/64 or-longer \
+ 2001:2::/48 or-longer 2001:10::/28 or-longer \
+ 2001:db8::/32 or-longer 2002::/16 or-longer \
+ 3ffe::/16 or-longer fc00::/7 or-longer \
+ fe80::/10 or-longer fec0::/10 or-longer \
ff00::/8 or-longer \
}
# use above prefix-set to reject the bogons