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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user