summaryrefslogtreecommitdiff
path: root/print-isakmp.c
diff options
context:
space:
mode:
authoritojun <itojun>2001-10-26 03:41:29 +0000
committeritojun <itojun>2001-10-26 03:41:29 +0000
commit7a48238455ff562c3a3c56528ccf16c5b4efbb54 (patch)
tree79363fef71d04b06792fc06075ed59ae1052cddb /print-isakmp.c
parentade606329cfc7a82ab356663d6a6bcf12959a72f (diff)
downloadtcpdump-7a48238455ff562c3a3c56528ccf16c5b4efbb54.tar.gz
do not subtract size of the field twice. from kame
Diffstat (limited to 'print-isakmp.c')
-rw-r--r--print-isakmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-isakmp.c b/print-isakmp.c
index a9c896ef..e43c6377 100644
--- a/print-isakmp.c
+++ b/print-isakmp.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.28 2001-02-20 18:55:14 fenner Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.29 2001-10-26 03:41:29 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -755,7 +755,6 @@ isakmp_id_print(struct isakmp_gen *ext, u_char *ep, u_int32_t phase,
}
}
if (data && len) {
- len -= sizeof(*p);
printf(" len=%d", len);
if (2 < vflag) {
printf(" ");