trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1197321 - /trafficserver/traffic/trunk/proxy/logging/LogAccess.cc
Date Thu, 03 Nov 2011 21:46:57 GMT
Author: amc
Date: Thu Nov  3 21:46:56 2011
New Revision: 1197321

URL: http://svn.apache.org/viewvc?rev=1197321&view=rev
Log:
TS-989 tweaks - better tweaks.

Modified:
    trafficserver/traffic/trunk/proxy/logging/LogAccess.cc

Modified: trafficserver/traffic/trunk/proxy/logging/LogAccess.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/logging/LogAccess.cc?rev=1197321&r1=1197320&r2=1197321&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/logging/LogAccess.cc (original)
+++ trafficserver/traffic/trunk/proxy/logging/LogAccess.cc Thu Nov  3 21:46:56 2011
@@ -801,14 +801,14 @@ LogAccess::marshal_ip(char* dest, sockad
       ip4->_family = AF_INET;
       ip4->_addr = ink_inet_ip4_addr_cast(ip);
     }
-    len = sizeof(*ip4);
+    len = sizeof(LogFieldIp4);
   } else if (ink_inet_is_ip6(ip)) {
     if (dest) {
       LogFieldIp6* ip6 = static_cast<LogFieldIp6*>(&data);
       ip6->_family = AF_INET6;
       ip6->_addr = ink_inet_ip6_addr_cast(ip);
     }
-    len = sizeof(*ip6);
+    len = sizeof(LogFieldIp6);
   } else {
     data._family = AF_UNSPEC;
   }



Mime
View raw message