projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev: Make netdev_get_vlan_vid() take a netdev instead of a name.
[openvswitch]
/
lib
/
unixctl.c
diff --git
a/lib/unixctl.c
b/lib/unixctl.c
index 526c3fe356cec18076b461378735bb0c5950e808..17bd6cb56981cf2748bcd973d2283744d887703e 100644
(file)
--- a/
lib/unixctl.c
+++ b/
lib/unixctl.c
@@
-82,7
+82,7
@@
unixctl_help(struct unixctl_conn *conn, const char *args UNUSED)
struct shash_node *node;
ds_put_cstr(&ds, "The available commands are:\n");
struct shash_node *node;
ds_put_cstr(&ds, "The available commands are:\n");
-
HMAP_FOR_EACH (node, struct shash_node, node, &commands.map
) {
+
SHASH_FOR_EACH (node, &commands
) {
ds_put_format(&ds, "\t%s\n", node->name);
}
unixctl_command_reply(conn, 214, ds_cstr(&ds));
ds_put_format(&ds, "\t%s\n", node->name);
}
unixctl_command_reply(conn, 214, ds_cstr(&ds));