]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
proxy_listener may not exist
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Aug 2021 18:41:18 +0000 (14:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Aug 2021 18:41:18 +0000 (14:41 -0400)
src/main/process.c

index 1b590d55ac5e99d252e77b9bbea25600fd7d59ee..f309092ce0df46410a6ea2b2dddfe7f567c7aa4c 100644 (file)
@@ -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) {