From: Alan T. DeKok Date: Tue, 17 Apr 2012 15:28:27 +0000 (+0200) Subject: Fix typo in parsing limit configuration X-Git-Tag: release_3_0_0_beta0~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d043f8caeec5096616881c87a59ea7271b15fa5;p=thirdparty%2Ffreeradius-server.git Fix typo in parsing limit configuration --- diff --git a/src/main/client.c b/src/main/client.c index 0444cde9786..295b1cda511 100644 --- a/src/main/client.c +++ b/src/main/client.c @@ -505,13 +505,13 @@ static char *hs_proto = NULL; #ifdef WITH_TCP static CONF_PARSER limit_config[] = { { "max_connections", PW_TYPE_INTEGER, - offsetof(home_server, limit.max_connections), NULL, "16" }, + offsetof(RADCLIENT, limit.max_connections), NULL, "16" }, { "lifetime", PW_TYPE_INTEGER, - offsetof(home_server, limit.lifetime), NULL, "0" }, + offsetof(RADCLIENT, limit.lifetime), NULL, "0" }, { "idle_timeout", PW_TYPE_INTEGER, - offsetof(home_server, limit.idle_timeout), NULL, "30" }, + offsetof(RADCLIENT, limit.idle_timeout), NULL, "30" }, { NULL, -1, 0, NULL, NULL } /* end the list */ }; @@ -613,7 +613,7 @@ static RADCLIENT *client_parse(CONF_SECTION *cs, int in_server) "Clients inside of an server section cannot point to a server."); goto error; } - + /* * No "ipaddr" or "ipv6addr", use old-style * "client {" syntax.