summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-06 22:18:49 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-06 22:18:49 +0000
commit12d3ceb6d89d6491ad852efa19988f877e70c4bc (patch)
tree03db56a2e5283cc346eeee782daefad51f590e4e /sbin
parent171b7963b9338c8d9785f1142d134e6706fecc59 (diff)
Print the name of the marked SA (if available).
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/sa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c
index ee0efb44c3c..0836dfa75b2 100644
--- a/sbin/isakmpd/sa.c
+++ b/sbin/isakmpd/sa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.c,v 1.38 2001/02/24 04:42:48 angelos Exp $ */
+/* $OpenBSD: sa.c,v 1.39 2001/03/06 22:18:48 angelos Exp $ */
/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */
/*
@@ -748,7 +748,8 @@ sa_flag (char *attr)
void
sa_mark_replaced (struct sa *sa)
{
- LOG_DBG ((LOG_SA, 60, "sa_mark_replaced: SA %p marked as replaced", sa));
+ LOG_DBG ((LOG_SA, 60, "sa_mark_replaced: SA %p (%s) marked as replaced",
+ sa, sa->name ? sa->name : "unnamed"));
sa->flags |= SA_FLAG_REPLACED;
}