]> The Tcpdump Group git mirrors - tcpdump/commitdiff
do not subtract size of the field twice. from kame
authoritojun <itojun>
Fri, 26 Oct 2001 03:41:29 +0000 (03:41 +0000)
committeritojun <itojun>
Fri, 26 Oct 2001 03:41:29 +0000 (03:41 +0000)
print-isakmp.c

index a9c896efa08184837abc56afa38892fea896569a..e43c63774f9b07fad15f40d446844969f119ea21 100644 (file)
@@ -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(" ");