From 7ff58948a6c1fe17991536ac74a6200d008c3da3 Mon Sep 17 00:00:00 2001 From: Chad Loder Date: Wed, 6 Apr 2005 00:02:57 +0000 Subject: Always print transport information correctly. OK deraadt@ --- sbin/isakmpd/sa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin') 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 ? "" : + fprintf(fd, "%s", sa->transport == NULL ? "" : sa->transport->vtbl->decode_ids(sa->transport)); fprintf(fd, "\n"); -- cgit v1.2.3