From: Alan T. DeKok Date: Mon, 26 Sep 2016 20:16:49 +0000 (-0400) Subject: remove from proxy hash on ping timeout X-Git-Tag: release_3_0_12~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=736eafd3201a9b04106a3e8db0ff3728f7c2a291;p=thirdparty%2Ffreeradius-server.git remove from proxy hash on ping timeout --- diff --git a/src/main/process.c b/src/main/process.c index e19752d255f..5ec16e684a7 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -3360,6 +3360,7 @@ static void request_ping(REQUEST *request, int action) &request->proxy->dst_ipaddr.ipaddr, buffer, sizeof(buffer)), request->proxy->dst_port); + remove_from_proxy_hash(request); break; case FR_ACTION_PROXY_REPLY: @@ -3407,6 +3408,7 @@ static void request_ping(REQUEST *request, int action) } rad_assert(!request->in_request_hash); + rad_assert(!request->in_proxy_hash); rad_assert(request->ev == NULL); NO_CHILD_THREAD; request_done(request, FR_ACTION_DONE);