From: Arran Cudbard-Bell Date: Tue, 19 May 2020 23:24:28 +0000 (-0500) Subject: Undo some assertion changes in proto_radius_udp.c X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0df7212fcab3ae4beec6a2b723e771cb1a322272;p=thirdparty%2Ffreeradius-server.git Undo some assertion changes in proto_radius_udp.c --- diff --git a/src/modules/proto_radius/proto_radius_udp.c b/src/modules/proto_radius/proto_radius_udp.c index 0b345267ef8..e07b6d908df 100644 --- a/src/modules/proto_radius/proto_radius_udp.c +++ b/src/modules/proto_radius/proto_radius_udp.c @@ -484,7 +484,10 @@ static int mod_bootstrap(void *instance, CONF_SECTION *cs) } } - fr_assert((cf_parent(inst->cs) != NULL) && (cf_parent(cf_parent(inst->cs)) != NULL)); /* listen { ... } */ + ci = cf_parent(inst->cs); /* listen { ... } */ + fr_assert(ci != NULL); + ci = cf_parent(ci); + fr_assert(ci != NULL); server_cs = cf_item_to_section(ci);