simple filters question

Sergey Popovich popovich_sergei at mail.ru
Fri Nov 8 09:53:11 CET 2013


В письме от 8 ноября 2013 03:53:16 Вы написали:
> Okay - assuming this may be a bug. This did work when I wasn't using the ~
> operator on a prefix set, but when using it to compare the NEXT_HOP to a
> single prefix to determine if that IP was in the subnet.
> 
> Is it possible to implement a workaround with a nested if or a case
> statement and compare the two prefixes separately without the use of the
> prefix set data type?
> 
> Thanks,
> 
> -JJ
> 
> > On Nov 8, 2013, at 3:13 AM, Sergey Popovich <popovich_sergei at mail.ru>
> > wrote:> 
> > В письме от 8 ноября 2013 10:08:39 пользователь Sergey Popovich написал:
> >>> However I'm getting the following errors in the log:
> >>> 
> >>> 07-11-2013 12:33:00 <ERR> filters, line 61: ~ applied on unknown type
> >>> pair
> >>> 07-11-2013 12:33:00 <ERR> filters, line 61: ~ applied on unknown type
> >>> pair
> >>> 07-11-2013 12:33:04 <ERR> filters, line 61: ~ applied on unknown type
> >>> pair
> >>> 

Right. Could you try attached patch?

It seems matching an IP address to prefix set using ~ operator not implemented
in BIRD.


-- 
SP5474-RIPE
Sergey Popovich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird-1.3.11-match-T_IP-against-T_PREFIX_SET.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20131108/220d050d/attachment-0001.bin>


More information about the Bird-users mailing list