summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sa.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-05-18 20:39:26 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-05-18 20:39:26 +0000
commit94336cd8d75f416ba58938406daa78316a95480d (patch)
tree42bb64b8c23a8648deff3c41cb694f73f4787a11 /sbin/isakmpd/sa.c
parente98b3265f4ac220900c5331fb2cda359fc97c454 (diff)
Add a debug message to sa_reinit() to indicate when we renegotiate
active connections.
Diffstat (limited to 'sbin/isakmpd/sa.c')
-rw-r--r--sbin/isakmpd/sa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c
index de97253b734..9e7722dd965 100644
--- a/sbin/isakmpd/sa.c
+++ b/sbin/isakmpd/sa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.c,v 1.69 2003/05/16 20:31:16 ho Exp $ */
+/* $OpenBSD: sa.c,v 1.70 2003/05/18 20:39:25 ho Exp $ */
/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */
/*
@@ -992,6 +992,8 @@ sa_reinit (void)
if (!tag)
return;
+ LOG_DBG ((LOG_SA, 30, "sa_reinit: renegotiating active connections"));
+
/* Get phase 2 SAs. Soft expire those without active exchanges. */
for (i = 0; i <= bucket_mask; i++)
for (sa = LIST_FIRST (&sa_tab[i]); sa; sa = LIST_NEXT (sa, link))