git://git.onelab.eu
/
ipfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update the work on ipfw tables, reduce diffs.
[ipfw.git]
/
dummynet
/
hashtable.c
diff --git
a/dummynet/hashtable.c
b/dummynet/hashtable.c
index
517cec6
..
30c3b4c
100644
(file)
--- a/
dummynet/hashtable.c
+++ b/
dummynet/hashtable.c
@@
-125,7
+125,7
@@
new_table_extract_obj(struct new_hash_table *h, const void *obj)
i = h->hash(obj, h->table_size);
for (o = h->table_ptr[i]; o; o = o->next) {
if (h->cmp(o->obj, obj) == 0)
- return obj;
+ return o
->o
bj;
}
return NULL;
}