1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 04:39:01 +00:00

Merged r27540 from nmap-npingchages: Fix bug: convert to u32 after fixing the endianness.

This commit is contained in:
luis
2013-03-29 13:42:41 +00:00
parent b534fd83a1
commit 62199a4666

View File

@@ -699,7 +699,7 @@ u32 ICMPv6Header::getSequence() const{
case ICMPv6_ECHO:
case ICMPv6_ECHOREPLY:
return ntohl( ((u32)this->h_e->seq) );
return (u32)ntohs(this->h_e->seq);
break;
}
return 0;