Multiple parameters in function
Eiichiro Watanabe
watanabe at mfeed.ad.jp
Mon Dec 12 14:14:39 CET 2011
Thanks for your prompt reply.
It worked! ;-)
Eiichiro
Ondrej Zajicek wrote (2011/12/12 22:08):
> 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)
> {
> ...
> }
>
--
###################################################
Eiichiro Watanabe
Internet Multifeed Co.
More information about the Bird-users
mailing list