Skip to content

Commit

Permalink
better handle all actions. Fixes #5308
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 13, 2024
1 parent db27ff1 commit 66e6389
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -3845,6 +3845,7 @@ static void request_ping(REQUEST *request, int action)
break;

case FR_ACTION_PROXY_REPLY:
default:
rad_assert(request->in_proxy_hash);

request->home_server->num_received_pings++;
Expand Down Expand Up @@ -3883,9 +3884,10 @@ static void request_ping(REQUEST *request, int action)
mark_home_server_alive(request, home);
break;

default:
case FR_ACTION_RUN:
case FR_ACTION_DUP:
RDEBUG3("%s: Ignoring action %s", __FUNCTION__, action_codes[action]);
break;
return;
}

rad_assert(!request->in_request_hash);
Expand Down

0 comments on commit 66e6389

Please sign in to comment.