projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1bfdda
)
BUG #5
author
Justin Pettit
<jpettit@nicira.com>
Sat, 26 Apr 2008 00:28:50 +0000
(17:28 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Sat, 26 Apr 2008 21:08:41 +0000
(14:08 -0700)
Fixes crash when a non-existent command is given to dpctl.
utilities/dpctl.c
patch
|
blob
|
history
diff --git
a/utilities/dpctl.c
b/utilities/dpctl.c
index fa1d6f9f1dc545ac1abd7f623f95a7db2900eba9..c3fe8cd6c08310a8e5099cbad0617f355e1cb99a 100644
(file)
--- a/
utilities/dpctl.c
+++ b/
utilities/dpctl.c
@@
-675,4
+675,5
@@
static struct command all_commands[] = {
{ "add-flows", 2, 2, do_add_flows },
{ "del-flows", 1, 2, do_del_flows },
{ "dump-ports", 1, 1, do_dump_ports },
+ { NULL, 0, 0, NULL },
};