mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Merged r27540 from nmap-npingchages: Fix bug: convert to u32 after fixing the endianness.
This commit is contained in:
parent
b534fd83a1
commit
62199a4666
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue