From: Justin Pettit Date: Sat, 26 Apr 2008 00:28:50 +0000 (-0700) Subject: BUG #5 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b253eacac9f880853d2099e29a3b76ffb1f9d8;p=openvswitch BUG #5 Fixes crash when a non-existent command is given to dpctl. --- diff --git a/utilities/dpctl.c b/utilities/dpctl.c index fa1d6f9f..c3fe8cd6 100644 --- 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 }, };