summaryrefslogtreecommitdiff
path: root/ace/INET_Addr.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-06-19 22:36:55 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-06-19 22:36:55 +0000
commitce15061df54518a0e0650cb2f9ba84c8fc869765 (patch)
tree914b5f92203303241002364e2270bb8667fd7bb9 /ace/INET_Addr.i
parent2ae266ea459c48d286b04a135352f03431d1f8e2 (diff)
downloadATCD-ce15061df54518a0e0650cb2f9ba84c8fc869765.tar.gz
ChangeLogTag:Mon Jun 19 17:33:28 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/INET_Addr.i')
-rw-r--r--ace/INET_Addr.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/INET_Addr.i b/ace/INET_Addr.i
index ba218c3a0b4..4bb7dd4d5ae 100644
--- a/ace/INET_Addr.i
+++ b/ace/INET_Addr.i
@@ -55,5 +55,6 @@ ACE_INLINE int
ACE_INET_Addr::operator < (const ACE_INET_Addr &rhs)
{
return this->get_ip_address () < rhs.get_ip_address ()
- || this->get_port_number () < rhs.get_port_number ();
+ || (this->get_ip_address () == rhs.get_ip_address ()
+ && this->get_port_number () < rhs.get_port_number ());
}