diff --git a/CHANGELOG b/CHANGELOG index 573ef2e1b..d9e440cd2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o Packet trace of ICMP packets now include the ICMP ID and sequence + number by default. [David Fifield] + o [NSE] Added ike-version and a new ike library by Jesper Kückelhahn. Thanks also go to Roy Hills, who allowed the use of the signature database from the ike-scan tool. diff --git a/libnetutil/netutil.cc b/libnetutil/netutil.cc index 8e2a3ace8..3a502686a 100644 --- a/libnetutil/netutil.cc +++ b/libnetutil/netutil.cc @@ -2965,13 +2965,8 @@ icmpbad: else strncpy(icmpinfo,"type=?/code=?", sizeof(icmpinfo)); - if (detail == LOW_DETAIL) { - Snprintf(protoinfo, sizeof(protoinfo), "ICMP %s > %s %s (%s) %s", - srchost, dsthost, icmptype, icmpinfo, ipinfo); - } else { - Snprintf(protoinfo, sizeof(protoinfo), "ICMP [%s > %s %s (%s) %s] IP [%s]", - srchost, dsthost, icmptype, icmpinfo, icmpfields, ipinfo); - } + Snprintf(protoinfo, sizeof(protoinfo), "ICMP [%s > %s %s (%s) %s] IP [%s]", + srchost, dsthost, icmptype, icmpinfo, icmpfields, ipinfo); } /* UNKNOWN PROTOCOL **********************************************************/