X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/61f71d2046ced967e1bd998d41c68faf512f75ab..546558eabd81cfc36a81a4df728fdfea0d83b41a:/print-icmp.c diff --git a/print-icmp.c b/print-icmp.c index a5b94d63..7ad886d2 100644 --- a/print-icmp.c +++ b/print-icmp.c @@ -347,6 +347,7 @@ icmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char * char buf[MAXHOSTNAMELEN + 100]; struct cksum_vec vec[1]; + ndo->ndo_protocol = "icmp"; dp = (const struct icmp *)bp; ext_dp = (const struct icmp_ext_t *)bp; ip = (const struct ip *)bp2;