1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Fixed a small error in the comments, probably a copy/paste error.

This commit is contained in:
claude
2014-06-05 19:51:50 +00:00
parent a00aa0a460
commit 319b6b560e

View File

@@ -568,7 +568,7 @@ u16 IPv4Header::getSum() const {
int IPv4Header::setDestinationAddress(u32 d){ int IPv4Header::setDestinationAddress(u32 d){
h.ip_dst.s_addr = d; h.ip_dst.s_addr = d;
return OP_SUCCESS; return OP_SUCCESS;
} /* End of getDestinationAddress() */ } /* End of setDestinationAddress() */
/** Sets destination IP address. /** Sets destination IP address.
* @warning Destination IP must be supplied in NETWORK byte order. Usually * @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){ int IPv4Header::setDestinationAddress(struct in_addr d){
h.ip_dst=d; h.ip_dst=d;
return OP_SUCCESS; return OP_SUCCESS;
} /* End of getDestinationAddress() */ } /* End of setDestinationAddress() */
/** Returns destination IP address. /** Returns destination IP address.