]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove "namespace" parameter
authorAlan T. DeKok <aland@freeradius.org>
Fri, 28 Jul 2017 13:16:48 +0000 (09:16 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 28 Jul 2017 13:35:06 +0000 (09:35 -0400)
src/include/radiusd.h
src/main/radiusd.c
src/main/virtual_servers.c

index 6a7f5edb3b836e3099a021a8989ae174df96f8ae..1153c295f187ebae53d8613644c2a5ad55993631 100644 (file)
@@ -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
index 9a1c01b9075e058018be415d9a1b7a17116f00cf..40eede477c558c06982e19af038c7b46fed8278e 100644 (file)
@@ -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;
index bf5000265fae00d9bdf515505e4ce8f7d84de274..d3474cfc74524b8696d14971265f696595a701b9 100644 (file)
@@ -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;
 }