diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-11-02 14:45:13 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-11-02 14:45:13 +0000 |
commit | ffb57f819d69954536756e89334f65effea62a93 (patch) | |
tree | d7b51d682dbd8f545705dbf3a4b523a5e8518f92 | |
parent | 4729607ffa3edf23cd20ae70effcbbbf8581b987 (diff) | |
download | ATCD-ffb57f819d69954536756e89334f65effea62a93.tar.gz |
ChangeLogTag:Mon Nov 1 07:27:11 2004 Douglas C. Schmidt <schmidt@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 19 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/INET_Addr.cpp | 4 |
3 files changed, 22 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 2f441c8d7eb..75c49ab598c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +Mon Nov 1 07:27:11 2004 Douglas C. Schmidt <schmidt@cs.wustl.edu> + + * ace/INET_Addr.cpp: Fixed the implementation of + + ACE_INET_Addr (const char port_name[], + ACE_UINT32 ip_addr, + const char protocol[] = "tcp"); + + ACE_INET_Addr (const wchar_t port_name[], + ACE_UINT32 ip_addr, + const wchar_t protocol[] = "tcp"); + + so that they convert the ip_addr into network byte order before + calling set(). Thanks to Xue Yong Zhi <seclib@seclib.com> for + reporting this bug and providing the fix. + Tue Nov 2 06:56:21 2004 Chad Elliott <elliott_c@ociweb.com> * performance-tests/SCTP/SCTP.mpc: @@ -15,6 +31,9 @@ Tue Nov 2 07:59:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl> Mon Nov 1 10:21:00 2004 Gary Maxey <gary.maxey@hp.com> + * ace/TP_Reactor.cpp: performace enhancement in handle_timer_events + See Bugzilla #1971 for details. + * ace/TP_Reactor.cpp: performace enhancement in handle_timer_events See Bugzilla #1971 for details. @@ -1920,6 +1920,7 @@ Vukajlo <vukajlo at finsoft dot co dot yu> Bill Somerville <bill at classdesign dot com> Bjorn Roald <bjorn dot roald at kongsberg dot com> Michi Henning <michi at triodia dot com> +Xue Yong Zhi <seclib@seclib.com> Ertugrul Sorar <esorar1 at yahoo dot com> I would particularly like to thank Paul Stephenson, who worked with me diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp index a80a2fd06a9..f6493809670 100644 --- a/ace/INET_Addr.cpp +++ b/ace/INET_Addr.cpp @@ -589,7 +589,7 @@ ACE_INET_Addr::ACE_INET_Addr (const char port_name[], ACE_TRACE ("ACE_INET_Addr::ACE_INET_Addr"); this->reset (); if (this->set (port_name, - inet_address, + htonl (inet_address), protocol) == -1) ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("ACE_INET_Addr::ACE_INET_Addr"))); @@ -604,7 +604,7 @@ ACE_INET_Addr::ACE_INET_Addr (const wchar_t port_name[], ACE_TRACE ("ACE_INET_Addr::ACE_INET_Addr"); this->reset (); if (this->set (port_name, - inet_address, + htonl (inet_address), protocol) == -1) ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("ACE_INET_Addr::ACE_INET_Addr"))); |