mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fixed a small error in the comments, probably a copy/paste error.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user