"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "print-esp.c" between
tcpdump-4.99.0.tar.gz and tcpdump-4.99.1.tar.gz

About: tcpdump is a tool for network monitoring and data acquisition.

print-esp.c  (tcpdump-4.99.0):print-esp.c  (tcpdump-4.99.1)
skipping to change at line 905 skipping to change at line 905
if (padlen + 2 > payloadlen) { if (padlen + 2 > payloadlen) {
nd_print_trunc(ndo); nd_print_trunc(ndo);
return; return;
} }
/* Get the next header */ /* Get the next header */
nh = GET_U_1(ep - 1); nh = GET_U_1(ep - 1);
ND_PRINT(": "); ND_PRINT(": ");
/*
* Don't put padding + padding length(1 byte) + next header(1 byte)
* in the buffer because they are not part of the plaintext to decode.
*/
nd_push_snapend(ndo, ep - (padlen + 2));
/* Now dissect the plaintext. */ /* Now dissect the plaintext. */
ip_demux_print(ndo, pt, payloadlen - (padlen + 2), ver, fragmented, ip_demux_print(ndo, pt, payloadlen - (padlen + 2), ver, fragmented,
ttl_hl, nh, bp2); ttl_hl, nh, bp2);
/* Pop the buffer, freeing it. */ /* Pop the buffer, freeing it. */
nd_pop_packet_info(ndo); nd_pop_packet_info(ndo);
/* Pop the nd_push_snapend */
nd_pop_packet_info(ndo);
#endif #endif
} }
#ifdef HAVE_LIBCRYPTO #ifdef HAVE_LIBCRYPTO
USES_APPLE_RST USES_APPLE_RST
#endif #endif
 End of changes. 3 change blocks. 
1 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)