diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-06 00:02:57 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-06 00:02:57 +0000 |
commit | 7ff58948a6c1fe17991536ac74a6200d008c3da3 (patch) | |
tree | 9e113699f40cd75654cc1e040e4ccd250635f1ab /sbin/isakmpd/sa.c | |
parent | f8fbf3df373294bfcd5b7d4f8960a4661f21c25a (diff) |
Always print transport information correctly.
OK deraadt@
Diffstat (limited to 'sbin/isakmpd/sa.c')
-rw-r--r-- | sbin/isakmpd/sa.c | 4 |
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"); |