BUG #5
authorJustin Pettit <jpettit@nicira.com>
Sat, 26 Apr 2008 00:28:50 +0000 (17:28 -0700)
committerJustin 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

index fa1d6f9..c3fe8cd 100644 (file)
@@ -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 },
 };