summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-04-06 00:02:56 +0000
committercloder <cloder@openbsd.org>2005-04-06 00:02:56 +0000
commit1f9f9c9a89fd25349bc823853c7fdd8988e32cff (patch)
treea0df5c93a964c4a1c6661157027bd465b8be94a6
parentAdd RECEIVE_DIAGNOSTIC & SEND_DIAGNOSTIC #defines for SES. (diff)
downloadwireguard-openbsd-1f9f9c9a89fd25349bc823853c7fdd8988e32cff.tar.xz
wireguard-openbsd-1f9f9c9a89fd25349bc823853c7fdd8988e32cff.zip
Always print transport information correctly.
OK deraadt@
-rw-r--r--sbin/isakmpd/sa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c
index 0ac7b554bc1..55c5207838d 100644
--- a/sbin/isakmpd/sa.c
+++ b/sbin/isakmpd/sa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.c,v 1.91 2005/04/04 19:31:11 deraadt Exp $ */
+/* $OpenBSD: sa.c,v 1.92 2005/04/06 00:02:56 cloder Exp $ */
/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */
/*
@@ -640,7 +640,7 @@ sa_dump_all(FILE *fd, struct sa *sa)
fprintf(fd, " (Phase %d)\n", sa->phase);
/* Source and destination IPs. */
- fprintf(fd, sa->transport == NULL ? "<no transport>" :
+ fprintf(fd, "%s", sa->transport == NULL ? "<no transport>" :
sa->transport->vtbl->decode_ids(sa->transport));
fprintf(fd, "\n");