BIRD 2.0 Syntax issue with defined()
Elmar K. Bins
elmi at noir.de
Thu Jul 8 14:33:22 CEST 2021
Hi Ondrej,
santiago at crfreenet.org (Ondrej Zajicek) wrote:
> > Am I wrongly assuming that defined() would check for the variable to exist
> > within BIRD's global scope (e.g., appear in the namespace)?
>
> No, defined() checks for whether given route attribute is defined for the
> current route. So it requires known attribute names, like bgp_path or
> ospf_metric1.
Thank you for the explanation...well... do you happen to know how I can
test for a variable existing?
Yours,
Elmar.
More information about the Bird-users
mailing list