On Tue, Jul 05, 2011 at 04:21:51PM +0400, Mikhail A. Grishin wrote: > Moreover, this prefix (94.228.160.0/20) was filtered and not accepted > because of this BIRD structure: > # Apply as_path filters on the last AS (originated route) > allas = [ 15905, 34211, 41206, 44116, 44893, 47773, 48467, 50875, > 51031, 51186, 51443, 52163 ]; > if ! (bgp_path.last ~ allas) then reject; > > So bgp_path.last doesn't hit to 48467 in this case. > Is this normal?
Yes, as bgp_path.last expression returns one integer, it cannot return both (or more) ASNs in the AS set. It returns 0 in that case. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: Digital signature
