summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/log.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-12-21 01:02:36 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-12-21 01:02:36 +0000
commit0368e31221f66d22f0612fca6754934ebcf3ee14 (patch)
tree671d0efb5cb97395e2f2042ee3547f8143734f10 /sbin/isakmpd/log.c
parent335a494f8e3c20ed5a4514d5ea7c3df4aaaa3518 (diff)
Last months worth of work on isakmpd, lots done
Diffstat (limited to 'sbin/isakmpd/log.c')
-rw-r--r--sbin/isakmpd/log.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c
index 34e12a98f4d..9c42058ba3c 100644
--- a/sbin/isakmpd/log.c
+++ b/sbin/isakmpd/log.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: log.c,v 1.3 1998/11/17 11:10:16 niklas Exp $ */
-/* $EOM: log.c,v 1.13 1998/07/26 00:48:55 niklas Exp $ */
+/* $OpenBSD: log.c,v 1.4 1998/12/21 01:02:26 niklas Exp $ */
+/* $EOM: log.c,v 1.14 1998/12/01 10:19:44 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -67,6 +67,12 @@ log_to (FILE *f)
openlog ("isakmpd", 0, LOG_DAEMON);
}
+FILE *
+log_current (void)
+{
+ return log_output;
+}
+
static void
_log_print (int error, int level, const char *fmt, va_list ap)
{