Filtering question

Tim Weippert weiti at weiti.org
Mon Mar 20 19:24:24 CET 2017


Hi, 

On Mon, Mar 20, 2017 at 04:14:14PM +0100, Alarig Le Lay wrote:
> Hi,
> 
> I have this configuration:
> 
> function bgp_filter_customer_in (prefix customer_prefix) {

Here you define prefix for the function ...

> filter bgp_filter_grifon_nominoe_in {
>         if (bgp_filter_customer_in([ 2a00:5884::/32, 2001:678:3cc::/48 ]))

But here you put an prefix set to the function. I think this wouldn't
work. You can define an prefix set for the function:

function bgp_filter_customer_in (prefix set customer_prefix) {

HTH, 
weiti


-- 
Tim Weippert
http://weiti.org - weiti at weiti.org
GPG Fingerprint - E704 7303 6FF0 8393 ADB1  398E 67F2 94AE 5995 7DD8


More information about the Bird-users mailing list