[netfilter-cvslog] r6557 - trunk/hashtrie
gandalf at netfilter.org
gandalf at netfilter.org
Wed Mar 22 21:23:45 CET 2006
Author: gandalf at netfilter.org
Date: 2006-03-22 21:23:45 +0100 (Wed, 22 Mar 2006)
New Revision: 6557
Modified:
trunk/hashtrie/newtable.c
Log:
*sigh* Why do I always find stupid bugs just after I've committed the changes?
Anyway, this fixes a conditional in debug_hashtrie() which would only have been a problem when we reach MAXDEPTH - 1, my machine doesn't have that much memory...
Modified: trunk/hashtrie/newtable.c
===================================================================
--- trunk/hashtrie/newtable.c 2006-03-22 20:13:10 UTC (rev 6556)
+++ trunk/hashtrie/newtable.c 2006-03-22 20:23:45 UTC (rev 6557)
@@ -441,7 +441,7 @@
if (!debug[i].numbuckets)
continue;
- if (i != MAXDEPTH) {
+ if (i < MAXDEPTH - 1) {
for (j = i + 1; j < MAXDEPTH; j++) {
subentries += debug[j].numentries;
}
More information about the netfilter-cvslog
mailing list