fixed bugs that caused DestinationUnreachable / TimeExceeded messages to NEVER match...
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 18 Mar 2015 15:01:32 +0000 (16:01 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 18 Mar 2015 15:01:32 +0000 (16:01 +0100)
commit7edd33cf6a9f20bb5ec59fbefa819d3949e7c169
tree3e8e5d7f6401288adef57fca1414d290012e3a83
parentdf7d5b24c3f9cfe1bf39f64dd6f2d2110bd15904
fixed bugs that caused DestinationUnreachable / TimeExceeded messages to NEVER match anything

also added function to get ttl of original request IP packet but unfortunately that always returns 1 if time exceeded :-(
Also improved error reporting in ICMP packet parsing process
src/icmp/icmpdata_pingfailreply.cpp
src/icmp/icmpdata_pingfailreply.h
src/icmp/icmppacket.cpp
src/icmp/icmppacketfactory.cpp
src/icmp/icmppinger.cpp
src/icmp/icmptimeexceededdata.cpp