summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/init.c
diff options
context:
space:
mode:
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 ();