Revision: 14722
Author: adrian.chadd
Date: Sun Jul  4 07:17:21 2010
Log: Walk the (currently empty) v6 tree.


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

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

=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/client_db.c    Sun Jul  4 07:16:23 2010
+++ /playpen/LUSCA_HEAD_ipv6/src/client_db.c    Sun Jul  4 07:17:21 2010
@@ -289,6 +289,11 @@
       clientdbDumpEntry(sentry, c, &ci);
     } RADIX_WALK_END;

+    RADIX_WALK(client_v6_tree->head, rn) {
+      c = rn->data;
+      clientdbDumpEntry(sentry, c, &ci);
+    } RADIX_WALK_END;
+
     storeAppendPrintf(sentry, "TOTALS\n");
     storeAppendPrintf(sentry, "ICP : %d Queries, %d Hits (%3d%%)\n",
        ci.icp_total, ci.icp_hits, percent(ci.icp_hits, ci.icp_total));

--
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