From: Alan T. DeKok Date: Tue, 3 Aug 2021 18:41:18 +0000 (-0400) Subject: proxy_listener may not exist X-Git-Tag: release_3_0_24~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=456b28d19baa6192ccdd27b1b2b30ff9b4817661;p=thirdparty%2Ffreeradius-server.git proxy_listener may not exist --- diff --git a/src/main/process.c b/src/main/process.c index 1b590d55ac5..f309092ce0d 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -2534,7 +2534,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply) * NULL after removing the request from the proxy * hash. */ - reverse_coa = request->proxy_listener->type != RAD_LISTEN_PROXY; + if (request->proxy_listener) reverse_coa = request->proxy_listener->type != RAD_LISTEN_PROXY; #endif if (reply) {