From: Alan T. DeKok Date: Fri, 23 Sep 2011 07:32:59 +0000 (+0200) Subject: More checks for -C, to not open sockets X-Git-Tag: release_3_0_0_beta0~623 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57bd4bd998c1b7cfce6fd12c47149ae01cac0642;p=thirdparty%2Ffreeradius-server.git More checks for -C, to not open sockets --- diff --git a/src/main/listen.c b/src/main/listen.c index 537ccd9a98f..2aa5a5e047e 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -2860,7 +2860,7 @@ add_sockets: return -1; } #endif - event_new_fd(this); + if (!check_config) event_new_fd(this); } /* @@ -2869,6 +2869,7 @@ add_sockets: */ #ifdef WITH_PROXY if ((mainconfig.proxy_requests == TRUE) && + !check_config (*head != NULL) && !defined_proxy) { listen_socket_t *sock = NULL; int port = 0;