Bird 2.0.0 and (filter) code deduplication
Clemens Schrimpe
clemens.schrimpe at gmail.com
Sun Dec 17 13:43:03 CET 2017
> You can use ‘net.type = NET_IP4', 'net.type = NET_IP6'.
Nice …
And you can also „just“ mix IPv6 and legacy IPv4 matches in prefix-lists, etc.:
if net ~ [
2001:db8::/32+, # doc
fc00::/15+, # ULAs
fe80::/16+ # link locals
192.168.0.0/16+, # RFC1918
172.16.0.0/24+, # RFC1918
10.0.0.0/8+, # RFC1918
] then {
Works just fine with 2.0.0 …
-c
More information about the Bird-users
mailing list