From 319b6b560eb6394f4ed93cee8558ab184ba525fc Mon Sep 17 00:00:00 2001 From: claude Date: Thu, 5 Jun 2014 19:51:50 +0000 Subject: [PATCH] Fixed a small error in the comments, probably a copy/paste error. --- libnetutil/IPv4Header.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnetutil/IPv4Header.cc b/libnetutil/IPv4Header.cc index 81ec9e063..ce57373f4 100644 --- a/libnetutil/IPv4Header.cc +++ b/libnetutil/IPv4Header.cc @@ -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.