From: Alan T. DeKok Date: Tue, 23 May 2017 19:35:06 +0000 (-0400) Subject: minor updates X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca707ec9c9aa5a905121c8cf24c837d3482c1b60;p=thirdparty%2Ffreeradius-server.git minor updates --- diff --git a/src/modules/proto_radius/proto_radius.c b/src/modules/proto_radius/proto_radius.c index 0bfee5c3c2a..942752c6e6d 100644 --- a/src/modules/proto_radius/proto_radius.c +++ b/src/modules/proto_radius/proto_radius.c @@ -23,14 +23,13 @@ #include #include -#include #include #include #include typedef struct proto_radius_ctx_t { int sockfd; //!< sanity checks - void *transport_ctx; //!< for the transport + void *io_ctx; //!< for the underlying IO layer fr_transport_t transport; fr_transport_process_t process[FR_MAX_PACKET_CODE]; } proto_radius_ctx_t; @@ -202,7 +201,7 @@ static int open_transport(proto_radius_ctx_t *ctx, fr_schedule_t *handle, CONF_S } io = (fr_app_io_t const *) module->common; - if (io->open(ctx, &ctx->sockfd, &ctx->transport_ctx, &transport, cs, verify_config) < 0) { + if (io->open(ctx, &ctx->sockfd, &ctx->io_ctx, &transport, cs, verify_config) < 0) { cf_log_err_cs(cs, "Failed compiling unlang for 'transport = %s'", value); return -1; }