summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/init.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-02-25 16:01:30 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-02-25 16:01:30 +0000
commita7946343fa1ef0c2bc26b1296b175f5aa2b57c78 (patch)
treeb7671b78e0dbbb7511afd2a731adeb3699e818f0 /sbin/isakmpd/init.c
parentfc8c3e27036aab4d3021f9c55fa0b1c90b4c1405 (diff)
Add and document configuration options Logverbose and Loglevel. As log.c now
depends on conf.c and some regression tests use log.c, add conf.c to Makefiles where necessary. ok ho@
Diffstat (limited to 'sbin/isakmpd/init.c')
-rw-r--r--sbin/isakmpd/init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/isakmpd/init.c b/sbin/isakmpd/init.c
index ff4ee3ab066..5e9e755e6b2 100644
--- a/sbin/isakmpd/init.c
+++ b/sbin/isakmpd/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.26 2003/11/08 19:17:28 jmc Exp $ */
+/* $OpenBSD: init.c,v 1.27 2004/02/25 16:01:28 hshoexer Exp $ */
/* $EOM: init.c,v 1.25 2000/03/30 14:27:24 ho Exp $ */
/*
@@ -77,6 +77,9 @@ init (void)
conf_init ();
connection_init ();
+ /* This depends on conf_init, thus check as soon as possible. */
+ log_reinit ();
+
#ifdef USE_POLICY
/* policy_init depends on conf_init having run. */
policy_init ();
@@ -113,6 +116,8 @@ reinit (void)
/* Reread config file. */
conf_reinit ();
+ log_reinit ();
+
/* Set timezone */
tzset ();