Merged changes made to HEAD branch. unlabeled-1.2.24
authorcls%seawood.org
Sun, 12 Sep 1999 01:09:30 +0000
branchunlabeled-1.2.24
changeset 804 914b1d21dca3
parent 566 667cd440f120
push idunknown
push userunknown
push dateunknown
Merged changes made to HEAD branch.
pr/src/cplus/rcnetdb.cpp
--- a/pr/src/cplus/rcnetdb.cpp
+++ b/pr/src/cplus/rcnetdb.cpp
@@ -32,17 +32,17 @@ RCNetAddr::RCNetAddr(const RCNetAddr& hi
 
 RCNetAddr::RCNetAddr(const RCNetAddr& his, PRUint16 port): RCBase()
 {
     address = his.address;
     switch (address.raw.family)
     {
         case PR_AF_INET: address.inet.port = port; break;
 #if defined(_PR_INET6)
-        case PR_AF_INET6: address.ipv6.port = his.address.ipv6.port; break;
+        case PR_AF_INET6: address.ipv6.port = port; break;
 #endif
         default: break;
     }
 }  /* RCNetAddr::RCNetAddr */
 
 RCNetAddr::RCNetAddr(RCNetAddr::HostValue host, PRUint16 port): RCBase()
 {
     PRNetAddrValue how;