summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-06-18 15:14:52 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-06-18 15:14:52 +0000
commitf339cb63213e664b8aa669c7f73eae619e16d918 (patch)
treee1cc7a2ac7948f0c387a23718c9240e4dc9bcbd7 /radsecproxy.c
parent0673a0f948e1f1068ca064209327a8f2fe7c2d78 (diff)
moved startup message
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.0@138 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index f23d6ac..385e4a6 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2288,7 +2288,6 @@ int main(int argc, char **argv) {
getargs(argc, argv, &foreground, &loglevel, &configfile);
if (loglevel)
debug_set_level(loglevel);
- debug(DBG_INFO, "radsecproxy 1.0-alpha-p1 starting");
getmainconfig(configfile ? configfile : CONFIG_MAIN);
if (loglevel)
options.loglevel = loglevel;
@@ -2312,6 +2311,8 @@ int main(int argc, char **argv) {
if (!foreground && (daemon(0, 0) < 0))
debugx(1, DBG_ERR, "daemon() failed: %s", strerror(errno));
+ debug(DBG_INFO, "radsecproxy 1.0-alpha-p1 starting");
+
if (client_udp_count) {
udp_server_listen = server_create('U');
if (pthread_create(&udpserverth, NULL, udpserverrd, NULL))