Hi I am having some issues with a filter, any advice on whats wrong with this : # BGP Exception prefixes filter exceptions { asnums = [ 286 ]; if ( bgp_path.last ~ asnums) then accept; } I get the following error bird: /etc/bird.conf, line 68: You may set only variables. Thanks Matt
hi matthew, i think you have to define local variables. try sth like filter exceptions int set asnums; { asnums = [ 286 ]; if ( bgp_path.last ~ asnums) then accept; } br, peter Am 17.02.2011 um 17:11 schrieb Matthew Whittaker-Williams:
Hi
I am having some issues with a filter, any advice on whats wrong with this :
# BGP Exception prefixes filter exceptions { asnums = [ 286 ]; if ( bgp_path.last ~ asnums) then accept; }
I get the following error
bird: /etc/bird.conf, line 68: You may set only variables.
Thanks
Matt
participants (2)
-
Matthew Whittaker-Williams -
Peter Lieven