From fa0f3150b2313d6e5b68eb6c5740b52960ec2a07 Mon Sep 17 00:00:00 2001 From: claudio <> Date: Thu, 29 Mar 2007 13:37:35 +0000 Subject: [PATCH] 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@ --- src/etc/bgpd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/bgpd.conf b/src/etc/bgpd.conf index 34bddddd..d5583e5f 100644 --- a/src/etc/bgpd.conf +++ b/src/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