summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2003-05-18 20:39:25 +0000
committerho <ho@openbsd.org>2003-05-18 20:39:25 +0000
commit1092b02cf924e3aa31f85494312ca0a9f31e86ee (patch)
tree585564f76210daf224fb69bfaf29ff14077ecc53
parentregen (diff)
downloadwireguard-openbsd-1092b02cf924e3aa31f85494312ca0a9f31e86ee.tar.xz
wireguard-openbsd-1092b02cf924e3aa31f85494312ca0a9f31e86ee.zip
Add a debug message to sa_reinit() to indicate when we renegotiate
active connections.
-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))