Browse Source

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@
OPENBSD_4_2
claudio 18 years ago
parent
commit
fa0f3150b2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/bgpd.conf

+ 2
- 2
src/etc/bgpd.conf View File

@ -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


Loading…
Cancel
Save