determining ipv4 or ipv6 net in filter
Robert Blayzor
rblayzor.bulk at inoc.net
Mon Jan 27 20:52:38 CET 2020
After some digging through the BIRD 2.0 manual, I may have found my own
answer, but first time working with BIRD 2.0 so not sure if this is
valid....
Maybe something like:
if (net.type = NET_IP4) && (net.len = 32) then {
...
} else if (net.type = NET_IP6) && (net.len > 63) then {
...
}
--
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP: https://pgp.inoc.net/rblayzor/
More information about the Bird-users
mailing list