determining ipv4 or ipv6 net in filter
Maria Matějka
maria.matejka at nic.cz
Mon Jan 27 23:37:06 CET 2020
Yes. This version should work.
BTW, I suggest using custom attributes instead of communities for all the route tagging. They work the same way as other attributes and all protocols (except for Pipe) ignore them.
Maria
On January 27, 2020 8:52:38 PM GMT+01:00, Robert Blayzor <rblayzor.bulk at inoc.net> wrote:
>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/
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200127/5e049a76/attachment.htm>
More information about the Bird-users
mailing list