]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
horrible temporary hacks to parse conditions
authorAlan T. DeKok <aland@freeradius.org>
Wed, 29 Jun 2022 21:22:57 +0000 (17:22 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 30 Jun 2022 11:24:34 +0000 (07:24 -0400)
commit4a4e08f3f2fa9bef221ecb59d4929a2fcbd3aeae
tree896fcaa13112654eb7d875a7445dcbc74d859776
parentb8c69e78a59d20b4006708a43ceb5b6d11c411d2
horrible temporary hacks to parse conditions

once the config file stuff is moved to sbuffs, this can be deleted.

The root cause of this hack is to avoid having the xlat code call
cf_expand_variables().  The old condition code did that, which "worked"
but was arguably wrong.

Moving the cf_expand_variables() call to cf_file.c made it difficult
to parse multi-line "if" conditions.  So we necessitate this hack.
src/lib/server/cf_file.c