Skip to content

Commit

Permalink
The proxy listener can be NULL, so check for that, too
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 26, 2014
1 parent 90acd46 commit a2610f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -3101,7 +3101,8 @@ STATE_MACHINE_DECL(proxy_wait_for_reply)

case FR_ACTION_TIMER:
#ifdef WITH_TCP
if (request->proxy_listener->status != RAD_LISTEN_STATUS_KNOWN) {
if (!request->proxy_listener ||
(request->proxy_listener->status != RAD_LISTEN_STATUS_KNOWN)) {
remove_from_proxy_hash(request);

when = request->packet->timestamp;
Expand Down

0 comments on commit a2610f8

Please sign in to comment.