trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1144379 - /trafficserver/traffic/trunk/lib/ts/IpMap.cc
Date Fri, 08 Jul 2011 16:35:31 GMT
Author: amc
Date: Fri Jul  8 16:35:30 2011
New Revision: 1144379

URL: http://svn.apache.org/viewvc?rev=1144379&view=rev
Log:
Compile fix.

Modified:
    trafficserver/traffic/trunk/lib/ts/IpMap.cc

Modified: trafficserver/traffic/trunk/lib/ts/IpMap.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/lib/ts/IpMap.cc?rev=1144379&r1=1144378&r2=1144379&view=diff
==============================================================================
--- trafficserver/traffic/trunk/lib/ts/IpMap.cc (original)
+++ trafficserver/traffic/trunk/lib/ts/IpMap.cc Fri Jul  8 16:35:30 2011
@@ -953,7 +953,7 @@ protected:
 };
 
 inline int cmp(sockaddr_in6 const& lhs, sockaddr_in6 const& rhs) {
-  return memcmp(lhs.sin6_addr.__in6_u.__u6_addr8, rhs.sin6_addr.__in6_u.__u6_addr8, INK_IP6_SIZE);
+  return memcmp(lhs.sin6_addr.s6_addr, rhs.sin6_addr.s6_addr, INK_IP6_SIZE);
 }
 
 // Helper functions



Mime
View raw message