From: Alan T. DeKok Date: Fri, 28 Jul 2017 13:16:48 +0000 (-0400) Subject: remove "namespace" parameter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c76c91b96000540758dc7ea3c6906b367703aedc;p=thirdparty%2Ffreeradius-server.git remove "namespace" parameter --- diff --git a/src/include/radiusd.h b/src/include/radiusd.h index 6a7f5edb3b8..1153c295f18 100644 --- a/src/include/radiusd.h +++ b/src/include/radiusd.h @@ -183,8 +183,6 @@ typedef struct main_config { size_t talloc_memory_limit; //!< Limit the amount of talloced memory the server uses. //!< Only applicable in single threaded mode. - - bool namespace; //!< Only for new listeners } main_config_t; #ifdef WITH_VERIFY_PTR diff --git a/src/main/radiusd.c b/src/main/radiusd.c index 9a1c01b9075..40eede477c5 100644 --- a/src/main/radiusd.c +++ b/src/main/radiusd.c @@ -581,7 +581,7 @@ int main(int argc, char *argv[]) * If this isn't just a config check, AND we have new * async listeners, then we open the sockets. */ - if (!check_config && main_config.namespace) { + if (!check_config) { int networks = 1; int workers = 4; fr_event_list_t *el = NULL; diff --git a/src/main/virtual_servers.c b/src/main/virtual_servers.c index bf5000265fa..d3474cfc745 100644 --- a/src/main/virtual_servers.c +++ b/src/main/virtual_servers.c @@ -116,11 +116,6 @@ static int listen_parse(TALLOC_CTX *ctx, void *out, CONF_ITEM *ci, UNUSED CONF_P return -1; } - /* - * Hack for now: tell the server core we have new listeners. - */ - main_config.namespace = true; - return 0; }