Skip to content

Commit

Permalink
No sock for detail listeners. Fixes FreeRADIUS#5485
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnewton committed Jan 23, 2025
1 parent d7e8950 commit 287d047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -5735,6 +5735,10 @@ static void event_new_fd(rad_listen_t *this)
this->status = RAD_LISTEN_STATUS_KNOWN;

#ifdef WITH_TLS
if (this->type == RAD_LISTEN_DETAIL) {
return;
}

sock = this->data;
if (!sock->write_handler) return;

Expand Down

0 comments on commit 287d047

Please sign in to comment.