On Fri, Dec 31, 2010 at 09:30:51AM +0100, Jerome Durand wrote:
Yep, that was a copy/paste error (I tool the example from the web site) Actually I found a workaround for which I don't need an "else:" statement, and which is much better... !
Here was the faulty filter (of course replace example, XXX, prefix1 and prefix1 by valid info!)
filter in_asset_ASexample { if is_nexthop_false() then reject; case bgp_path.last { example: if ! (net ~ [ pref1+, pref2+ ]) then bgp_community.add((myas,XXX)); else: bgp_community.add((myas,XXX)); }
So the problem appears only when there is if/then in the case before else: branch. It seems like a problem in BIRD grammar. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."