diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2018-09-08 09:18:35 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2018-09-08 09:18:35 +0000 |
commit | f7bfc4770cd1cedf25b81174adf29c50974e447a (patch) | |
tree | 3bc773ab9ca10d91fbe96c3661cc354e508fdd75 /regress/usr.sbin/bgpd/config/bgpd.conf.3.ok | |
parent | 85193f22dc775826582893950a3ce6e3c7d5d2fb (diff) |
add a check for curly braces in a macro being used inside a filter
rule with curly braces
Diffstat (limited to 'regress/usr.sbin/bgpd/config/bgpd.conf.3.ok')
-rw-r--r-- | regress/usr.sbin/bgpd/config/bgpd.conf.3.ok | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/regress/usr.sbin/bgpd/config/bgpd.conf.3.ok b/regress/usr.sbin/bgpd/config/bgpd.conf.3.ok new file mode 100644 index 00000000000..912771bb9aa --- /dev/null +++ b/regress/usr.sbin/bgpd/config/bgpd.conf.3.ok @@ -0,0 +1,31 @@ +somepeer_v6 = "2001:DB8::1" +somenets_v6 = "{ 2001:DB8:100::/64 2001:DB8:200::/64 2001:DB8:300::/64 }" +somemore_v6 = "{ 2001:DB8:400::/64 2001:DB8:500::/64 }" +AS 1 +router-id 127.0.0.1 +socket "/var/run/bgpd.sock.0" +holdtime min 3 +fib-priority 48 + + +rde rib Adj-RIB-In no evaluate +rde rib Adj-RIB-Out no evaluate +rde rib Loc-RIB rtable 0 fib-update yes + + +neighbor 2001:db8::1 { + descr "v6SOMEPEER" + remote-as 64496 + enforce neighbor-as yes + enforce local-as yes + announce IPv6 unicast +} + +allow from 2001:db8::1 prefix 2001:db8:300::/64 +allow from 2001:db8::1 prefix 2001:db8:200::/64 +allow from 2001:db8::1 prefix 2001:db8:100::/64 +allow from 2001:db8::1 prefix 2001:db8:300::/64 +allow from 2001:db8::1 prefix 2001:db8:200::/64 +allow from 2001:db8::1 prefix 2001:db8:100::/64 +allow from 2001:db8::1 prefix 2001:db8:500::/64 +allow from 2001:db8::1 prefix 2001:db8:400::/64 |