summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:30:47 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:30:47 +0000
commit755443cf4bba48cd29dd2473ad4024fe60745476 (patch)
treead5a66a2e8ea11169e30e2d3804fa699174959d8 /sbin
parent1f89e1e8de2cce2e41654feeea9acb23cb4f208c (diff)
Merge from the Ericsson repository
| revision 1.4 | date: 1999/02/25 11:38:41; author: niklas; state: Exp; lines: +3 -2 | include sysdep.h everywhere | ---------------------------- | revision 1.3 | date: 1999/01/31 01:20:40; author: niklas; state: Exp; lines: +15 -1 | on-demand keying | ----------------------------
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/app.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/sbin/isakmpd/app.c b/sbin/isakmpd/app.c
index e5321e94a0f..b31f56af947 100644
--- a/sbin/isakmpd/app.c
+++ b/sbin/isakmpd/app.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: app.c,v 1.3 1998/11/17 11:10:06 niklas Exp $ */
-/* $EOM: app.c,v 1.2 1998/09/27 21:36:42 niklas Exp $ */
+/* $OpenBSD: app.c,v 1.4 1999/02/26 03:30:46 niklas Exp $ */
+/* $EOM: app.c,v 1.4 1999/02/25 11:38:41 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -40,15 +40,30 @@
* one only.
*/
+#include "sysdep.h"
+
#include "app.h"
#include "log.h"
-#include "sysdep.h"
int app_socket;
/* Set this to not get any applications setup. */
int app_none = 0;
+/* Called after conf_init () meat has been ran. */
+void
+app_conf_init_hook ()
+{
+ if (app_none)
+ return;
+
+ /*
+ * XXX I do not like the layering here. I will probably redo this once
+ * I figure out how other applications will use ISAKMP.
+ */
+ sysdep_conf_init_hook ();
+}
+
void
app_init ()
{