From: Denis Ovsienko Date: Mon, 12 Nov 2018 17:22:33 +0000 (+0000) Subject: ICMPv6: add a comment for the previous commit X-Git-Tag: tcpdump-4.99-bp~963 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/185f90fe428d99d0906adc5dbc617c95b3b8463b ICMPv6: add a comment for the previous commit [skip ci] --- diff --git a/print-icmp6.c b/print-icmp6.c index 5c5bd899..60b831bd 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -1165,6 +1165,7 @@ icmp6_print(netdissect_options *ndo, break; case ICMP6_ECHO_REQUEST: case ICMP6_ECHO_REPLY: + /* The check below covers both icmp6_id and icmp6_seq. */ ND_TCHECK_2(dp->icmp6_seq); ND_PRINT(", id %u, seq %u", EXTRACT_BE_U_2(dp->icmp6_id), EXTRACT_BE_U_2(dp->icmp6_seq)); break;