mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed a small error in the comments, probably a copy/paste error.
This commit is contained in:
parent
a00aa0a460
commit
319b6b560e
1 changed files with 2 additions and 2 deletions
|
|
@ -568,7 +568,7 @@ u16 IPv4Header::getSum() const {
|
|||
int IPv4Header::setDestinationAddress(u32 d){
|
||||
h.ip_dst.s_addr = d;
|
||||
return OP_SUCCESS;
|
||||
} /* End of getDestinationAddress() */
|
||||
} /* End of setDestinationAddress() */
|
||||
|
||||
/** Sets destination IP address.
|
||||
* @warning Destination IP must be supplied in NETWORK byte order. Usually
|
||||
|
|
@ -577,7 +577,7 @@ int IPv4Header::setDestinationAddress(u32 d){
|
|||
int IPv4Header::setDestinationAddress(struct in_addr d){
|
||||
h.ip_dst=d;
|
||||
return OP_SUCCESS;
|
||||
} /* End of getDestinationAddress() */
|
||||
} /* End of setDestinationAddress() */
|
||||
|
||||
|
||||
/** Returns destination IP address.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue