]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix a bug the previous change made a bit more obvious.
authorGuy Harris <[email protected]>
Thu, 16 Jan 2014 01:45:19 +0000 (17:45 -0800)
committerGuy Harris <[email protected]>
Thu, 16 Jan 2014 01:45:19 +0000 (17:45 -0800)
print-isakmp.c

index 9cf85854516a74c575bb23aeff4ef5402ebb8991..e2dbf7d354c2cfdfb02fc8112326a5a3fd3bde52 100644 (file)
@@ -1049,7 +1049,7 @@ ikev1_attr_print(netdissect_options *ndo, const u_char *p, const u_char *ep)
                rawprint(ndo, (caddr_t)&p[2], 2);
        } else {
                ND_PRINT((ndo,"len=%d value=", EXTRACT_16BITS(&p[2])));
-               rawprint(ndo, (caddr_t)&p[2], EXTRACT_16BITS(&p[2]));
+               rawprint(ndo, (caddr_t)&p[4], EXTRACT_16BITS(&p[2]));
        }
        ND_PRINT((ndo,")"));
        return p + totlen;