projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev: Add 'netdev' parameter to netdev_add_router().
[openvswitch]
/
lib
/
shash.c
diff --git
a/lib/shash.c
b/lib/shash.c
index f1785139d74f08bc7481d7fa4891da6b5d87295a..7bb8cd70b9bb59e12a18bf57e9c42bb1af329f37 100644
(file)
--- a/
lib/shash.c
+++ b/
lib/shash.c
@@
-44,7
+44,7
@@
shash_clear(struct shash *sh)
{
struct shash_node *node, *next;
-
HMAP_FOR_EACH_SAFE (node, next, struct shash_node, node, &sh->map
) {
+
SHASH_FOR_EACH_SAFE (node, next, sh
) {
hmap_remove(&sh->map, &node->node);
free(node->name);
free(node);