summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ike.c
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2004-06-20 17:51:55 +0000
committeravsm <avsm@openbsd.org>2004-06-20 17:51:55 +0000
commit5ca1dbc477c0b9307808aab24c0db866360baee7 (patch)
tree7f3af8bbf1427098084d8c55d5a0c94c76dbaf0c /usr.sbin/tcpdump/print-ike.c
parentimplement file descriptor passing in the imsg/msgbuf framework, and use (diff)
downloadwireguard-openbsd-5ca1dbc477c0b9307808aab24c0db866360baee7.tar.xz
wireguard-openbsd-5ca1dbc477c0b9307808aab24c0db866360baee7.zip
- do not use __attribute__((volatile)) as its a synonym for __dead nowadays
- bad format string "\%s" -> "%s" in print-ike.c fixes parsing using CIL, discussed with millert@ niklas@
Diffstat (limited to 'usr.sbin/tcpdump/print-ike.c')
-rw-r--r--usr.sbin/tcpdump/print-ike.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-ike.c b/usr.sbin/tcpdump/print-ike.c
index f1b1cf4eeed..e3a9c8ffe5b 100644
--- a/usr.sbin/tcpdump/print-ike.c
+++ b/usr.sbin/tcpdump/print-ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ike.c,v 1.22 2004/04/13 17:56:54 hshoexer Exp $ */
+/* $OpenBSD: print-ike.c,v 1.23 2004/06/20 17:51:55 avsm Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -29,7 +29,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ike.c,v 1.22 2004/04/13 17:56:54 hshoexer Exp $ (XXX)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ike.c,v 1.23 2004/06/20 17:51:55 avsm Exp $ (XXX)";
#endif
#include <sys/param.h>
@@ -712,7 +712,7 @@ ike_cfg_attribute_print (u_int8_t *buf, int attr_type, int maxlen)
u_int16_t len = af ? 2 : buf[2] << 8 | buf[3], p;
u_int8_t *val = af ? buf + 2 : buf + 4;
- printf("\n\t\%sattribute %s = ", ike_tab_offset(),
+ printf("\n\t%sattribute %s = ", ike_tab_offset(),
type < (sizeof attrs / sizeof attrs[0]) ? attrs[type] :
"<unknown>");