From: Alan T. DeKok Date: Sun, 27 Aug 2023 14:57:22 +0000 (-0400) Subject: always use new conditions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f6147c29c7e7c4e9fa29dc834a1490204a26359;p=thirdparty%2Ffreeradius-server.git always use new conditions Let's set a simple flag to see if anything breaks. That way if something bad does happen, we only have to revert one line of code. If everything works. we can then start on the longer process of removing all of the old condition code. --- diff --git a/src/lib/server/cf_file.c b/src/lib/server/cf_file.c index 222dd6e12b8..b41056dd815 100644 --- a/src/lib/server/cf_file.c +++ b/src/lib/server/cf_file.c @@ -1516,7 +1516,7 @@ static CONF_ITEM *process_if(cf_stack_t *stack) CONF_SECTION *parent = frame->current; char *buff[4]; tmpl_rules_t t_rules; - bool use_new_conditions = main_config_migrate_option_get("use_new_conditions"); + bool use_new_conditions = true; /* * Short names are nicer.