summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-03-29 13:37:36 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-03-29 13:37:36 +0000
commit7180d9e51d99cb3eac02b02c106477b1f05d19ed (patch)
tree00c4714f7d1274ceec7bf15615ef20a1c38407b6 /etc
parentb07f9c2398390864d4a910cc0227c260bd3e52be (diff)
Update config because of the new way prefixlen works. The prefixlen 8 - 24
rule needs an explicit "inet" to match on IPv4 addresses only. OK henning@
Diffstat (limited to 'etc')
-rw-r--r--etc/bgpd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bgpd.conf b/etc/bgpd.conf
index 34bddddd659..d5583e5f588 100644
--- a/etc/bgpd.conf
+++ b/etc/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.7 2004/10/01 15:12:16 henning Exp $
+# $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $
# sample bgpd configuration file
# see bgpd.conf(5)
@@ -76,7 +76,7 @@ neighbor 10.2.1.1 {
# filter out prefixes longer than 24 or shorter than 8 bits
deny from any
-allow from any prefixlen 8 - 24
+allow from any inet prefixlen 8 - 24
# do not accept a default route
deny from any prefix 0.0.0.0/0