#ifndef NDEBUG
.magic = REQUEST_MAGIC,
#endif
- .request_state = REQUEST_INIT,
.master_state = REQUEST_ACTIVE,
.dict = args->namespace,
.component = "<pre-core>",
fr_radius_packet_t *reply; //!< Outgoing response.
fr_event_list_t *el; //!< thread-specific event list.
- request_state_t request_state; //!< state for the various protocol handlers.
RADCLIENT *client; //!< The client that originally sent us the request.
fr_pair_t *vp;
- rlm_stats_data_t mydata, *stats;
+ rlm_stats_data_t mydata;
char buffer[64];
uint64_t local_stats[NUM_ELEMENTS(inst->stats)];
* Increment counters only in "send foo" sections.
*
* i.e. only when we have a reply to send.
+ *
+ * FIXME - Nothing sets request_state anymore
*/
+#if 0
if (request->request_state == REQUEST_SEND) {
int src_code, dst_code;
+ rlm_stats_data_t *stats;
src_code = request->packet->code;
if (src_code >= FR_RADIUS_CODE_MAX) src_code = 0;
RETURN_MODULE_UPDATED;
}
+#endif
/*
* Ignore "authenticate" and anything other than Status-Server
*/
- if ((request->request_state != REQUEST_RECV) ||
- (request->packet->code != FR_RADIUS_CODE_STATUS_SERVER)) {
+ if ((request->packet->code != FR_RADIUS_CODE_STATUS_SERVER)) {
RETURN_MODULE_NOOP;
}