Revision: 14730
Author: adrian.chadd
Date: Sun Jul 11 02:56:42 2010
Log: Migrate some existing code over to the new clientdb API.


http://code.google.com/p/lusca-cache/source/detail?r=14730

Modified:
 /playpen/LUSCA_HEAD_ipv6/src/client_side.c

=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/client_side.c  Sun Jul 11 02:51:11 2010
+++ /playpen/LUSCA_HEAD_ipv6/src/client_side.c  Sun Jul 11 02:56:42 2010
@@ -2602,7 +2602,7 @@
        if (s->tcp_keepalive.enabled) {
commSetTcpKeepalive(fd, s->tcp_keepalive.idle, s->tcp_keepalive.interval, s->tcp_keepalive.timeout);
        }
-       clientdbEstablished(sqinet_get_v4_inaddr(&peer, SQADDR_ASSERT_IS_V4), 
1);
+       clientdbEstablished6(&peer, 1);
        incoming_sockets_accepted++;
         sqinet_done(&peer);
         sqinet_done(&me);
@@ -2769,7 +2769,7 @@
        }
        if (Config.client_socksize > -1)
            commSetTcpBufferSize(fd, Config.client_socksize);
-       clientdbEstablished(sqinet_get_v4_inaddr(&peer, SQADDR_ASSERT_IS_V4), 
1);
+       clientdbEstablished6(&peer, 1);
        incoming_sockets_accepted++;
        httpsAcceptSSL(connState, s->sslContext);
         sqinet_done(&peer);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to