From: Alexander Bainbridge-Sedivy Date: Fri, 26 Jun 2026 13:26:18 +0000 (-0400) Subject: lib/server/cf_parse: fix || vs && in FR_CONF_FLAG_CHECK fr_ipaddr_t* case (disables... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de003fb0ec2129288634fd295fa9b51ddcb0fc60;p=thirdparty%2Ffreeradius-server.git lib/server/cf_parse: fix || vs && in FR_CONF_FLAG_CHECK fr_ipaddr_t* case (disables type check) --- diff --git a/src/lib/server/cf_parse.h b/src/lib/server/cf_parse.h index 068b069c7a4..56cbee35a15 100644 --- a/src/lib/server/cf_parse.h +++ b/src/lib/server/cf_parse.h @@ -142,7 +142,7 @@ _Generic((_ct), \ (_t == FR_TYPE_IPV6_ADDR) || \ (_t == FR_TYPE_IPV6_PREFIX) || \ (_t == FR_TYPE_COMBO_IP_PREFIX) || \ - (_t == FR_TYPE_COMBO_IP_ADDR)) || \ + (_t == FR_TYPE_COMBO_IP_ADDR)) && \ !((_f) & CONF_FLAG_MULTI), _p, (_mismatch_fripaddr) 0), \ fr_ipaddr_t ** : __builtin_choose_expr(((_t == FR_TYPE_IPV4_ADDR) || \ (_t == FR_TYPE_IPV4_PREFIX) || \