unlang question
Alan DeKok
aland at deployingradius.com
Fri Jul 6 10:25:16 CEST 2007
Enrik Berkhan wrote:
> I've re-compiled with dump_tree() enabled. From the tree dump it is
> obvious that I can still change the "module actions" on an if-section:
Hmm... the code is weirder than I thought. My tests found cases where
"ok=1" didn't work, so it now complains in those cases. Your config not
only parses, but works.
> What about enabling dump_tree() by default but only dump the tree at
> debug level, say, 5?
I don't see a need for it. The only time the contents of the tree
matter is when we're debugging the parser and/or the interpretor. That
hasn't been necessary for the past 6 years. It's only necessary now
because new features are being added.
Once the features are stable, dump_tree() isn't necessary.
Alan DeKok.
More information about the Freeradius-Devel
mailing list