8 Jul
2021
8 Jul
'21
12:33 p.m.
Hi Ondrej, santiago@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.