Skip to content

Commit

Permalink
remove server_cs, it's not used in 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jun 29, 2016
1 parent 9ae4bbf commit 7f6247e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/include/radiusd.h
Expand Up @@ -246,7 +246,6 @@ struct rad_request {

rlm_rcode_t rcode; //!< Last rcode returned by a module
char const *server; //!< name of the virtual server which is processing the request.
CONF_SECTION *server_cs; //!< virtual server which is processing the request.

char const *component; //!< Section the request is in.
char const *module; //!< Module the request is currently being processed by.
Expand Down
2 changes: 0 additions & 2 deletions src/main/listen.c
Expand Up @@ -514,7 +514,6 @@ RADCLIENT *client_listener_find(rad_listen_t *listener,
request->number = 0;
request->priority = listener->type;
request->server = client->client_server;
request->server_cs = client->client_server_cs;
request->root = &main_config;

/*
Expand Down Expand Up @@ -572,7 +571,6 @@ RADCLIENT *client_listener_find(rad_listen_t *listener,
}

request->server = client->server;
request->server_cs = client->server_cs;

trigger_exec(request, NULL, "server.client.add", false, NULL);

Expand Down
3 changes: 0 additions & 3 deletions src/main/process.c
Expand Up @@ -1834,13 +1834,10 @@ static REQUEST *request_setup(TALLOC_CTX *ctx, rad_listen_t *listener, RADIUS_PA
*/
if (client->server) {
request->server = client->server;
request->server_cs = client->server_cs;

} else {
request->server = listener->server;
request->server_cs = listener->server_cs;
}
rad_assert(request->server_cs != NULL);

request->root = &main_config;
#ifdef WITH_TCP
Expand Down

0 comments on commit 7f6247e

Please sign in to comment.