Filtering question

Alarig Le Lay alarig at swordarmor.fr
Mon Mar 20 21:06:38 CET 2017


On lun. 20 mars 19:24:24 2017, Tim Weippert wrote:
> 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

Thanks a lot, I didn’t notice this nuance.

-- 
alarig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170320/4721446b/attachment.asc>


More information about the Bird-users mailing list