summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2002-06-07 01:07:18 +0000
committerho <ho@openbsd.org>2002-06-07 01:07:18 +0000
commit30d6f32e62dd2fa1ccec469809d6a5ca7f8df2e9 (patch)
treec1fd4332be920690952fd12031455c9c7a80e071
parentSwitch mvmeppc to the current powerpc pmap scheme. (diff)
downloadwireguard-openbsd-30d6f32e62dd2fa1ccec469809d6a5ca7f8df2e9.tar.xz
wireguard-openbsd-30d6f32e62dd2fa1ccec469809d6a5ca7f8df2e9.zip
Before detaching, log output should go to stderr, not syslog.
-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)