summaryrefslogtreecommitdiff
path: root/sbin/photurisd/server.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-12-14 23:29:00 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-12-14 23:29:00 +0000
commit126dface48f6f55826ca957bbe6e4b53a7ba777b (patch)
treebdefc4e9d586eb3606fa30c641c1d89429156f0d /sbin/photurisd/server.c
parente2d4571aa1ea2a92a2214c0477f67df08e4d7ad4 (diff)
queue pfkey acquire and expire messages if we are currently waiting for
another pfkey transaction to return. some cleanup.
Diffstat (limited to 'sbin/photurisd/server.c')
-rw-r--r--sbin/photurisd/server.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/photurisd/server.c b/sbin/photurisd/server.c
index 210e090d367..13ac367262d 100644
--- a/sbin/photurisd/server.c
+++ b/sbin/photurisd/server.c
@@ -35,7 +35,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: server.c,v 1.5 2000/12/12 01:53:42 provos Exp $";
+static char rcsid[] = "$Id: server.c,v 1.6 2000/12/14 23:28:59 provos Exp $";
#endif
#define _SERVER_C_
@@ -320,6 +320,14 @@ server(void)
}
}
+#ifdef IPSEC
+ /*
+ * Deal with queue acquire and expire message, since we
+ * dont have proper timeout code, it needs to go here.
+ */
+ kernel_handle_queue();
+#endif
+
schedule_process(global_socket);
fflush(stdout);
fflush(stderr);