Empty sets
Alexander Shikov
a.shikov at dtel-ix.net
Fri Mar 7 17:13:06 CET 2014
Hi all!
Is there a way to pass empty set to function?
For example, function
function bgp_in (prefix set plist)
{ ... }
called either as 'import where bgp_in([])' or as 'import where bgp_in()'
causes error.
And further, how to detect in function whether set is defined?
Does built-in 'defined()' function apply to variables or function arguments?
Thanks in advance!
--
Alexander Shikov
Technical Staff, Digital Telecom IX
Tel.: +380 44 201 14 07
http://dtel-ix.net/
More information about the Bird-users
mailing list