On Mon, Dec 12, 2011 at 09:29:41PM +0900, Eiichiro Watanabe wrote:
Hello,
I'm trying to configure the below using examples from bird wiki. (https://git.nic.cz/redmine/projects/bird/wiki/BGP_filtering)
But it fails when type "configure" on birdc with a following message. "bird: /etc/bird.conf, line 16: syntax error"
It works when I define one parameter in function.
Are multiple parameters in function supported on 1.3.4? Or please correct me if I make any mistakes.
BIRD is OK, the wiki example is buggy - function arguments in BIRD are separated by semicolon, not by comma. So it should be: function rt_import(int peer_as; int set peer_asns; prefix set peer_net) { ... } -- 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."