]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of last printer use of ndo_snaplen.
authorGuy Harris <[email protected]>
Sat, 3 Jun 2017 03:06:29 +0000 (20:06 -0700)
committerGuy Harris <[email protected]>
Sat, 3 Jun 2017 03:06:29 +0000 (20:06 -0700)
print-isoclns.c

index 9c279c79b70c420a5391194b12a1c205ad264aae..2690d1b894775d686af157959c8ce9be1c6d8dbf 100644 (file)
@@ -3128,7 +3128,7 @@ osi_print_cksum(netdissect_options *ndo, const uint8_t *pptr,
                 ND_PRINT((ndo, " (unverified)"));
         } else {
 #if 0
-                printf("\nosi_print_cksum: %p %u %u %u\n", pptr, checksum_offset, length, ndo->ndo_snaplen);
+                printf("\nosi_print_cksum: %p %u %u\n", pptr, checksum_offset, length);
 #endif
                 calculated_checksum = create_osi_cksum(pptr, checksum_offset, length);
                 if (checksum == calculated_checksum) {