summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-06-07 01:07:19 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-06-07 01:07:19 +0000
commitc5956503cce33ecc4fc1818e81aa254f7645b9d5 (patch)
treed54a402ced3ef45631b2ff6e1d09a5e75c310db6 /sbin/isakmpd
parentb083c559e924f3ffc13a2aa6ec05866cf449d627 (diff)
Before detaching, log output should go to stderr, not syslog.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/isakmpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c
index 8f78fab5c97..02c1a3a9ef5 100644
--- a/sbin/isakmpd/isakmpd.c
+++ b/sbin/isakmpd/isakmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isakmpd.c,v 1.41 2002/06/01 07:44:21 deraadt Exp $ */
+/* $OpenBSD: isakmpd.c,v 1.42 2002/06/07 01:07:18 ho Exp $ */
/* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */
/*
@@ -348,6 +348,7 @@ main (int argc, char *argv[])
size_t mask_size;
struct timeval tv, *timeout;
+ log_to (stderr);
parse_args (argc, argv);
init ();
if (!debug)