child->packet->code = parent->packet->code;
child->packet->timestamp = parent->packet->timestamp;
- /*
- * Required for new identity support
- */
- child->listener = parent->listener;
-
/*
* Fill in the child reply, based on the child request.
*/
fr_dlist_head_t data; //!< Request metadata.
- rad_listen_t *listener; //!< The listener that received the request.
RADCLIENT *client; //!< The client that originally sent us the request.
rad_master_state_t master_state; //!< Set by the master thread to signal the child that's currently
{
if (request->master_state == REQUEST_COUNTED) return;
+#if 0
if (!request->listener) return;
if (!request->client) return;
if (!request->packet) return;
+#endif
+#if 0
if ((request->listener->type != RAD_LISTEN_NONE) &&
(request->listener->type != RAD_LISTEN_ACCT) &&
(request->listener->type != RAD_LISTEN_AUTH)) return;
-
+#endif
/* don't count statistic requests */
if (request->packet->code == FR_CODE_STATUS_SERVER)
return;
*/
if (request->client->server) {
server_cs = request->client->server_cs;
-
- } else if (request->listener) {
- server_cs = request->listener->server_cs;
} else {
RETURN_MODULE_FAIL;
}
- c = client_read(buffer, server_cs, true);
+ c = client_read(buffer, request->server_cs, true);
if (!c) RETURN_MODULE_FAIL;
/*