From d7b253eacac9f880853d2099e29a3b76ffb1f9d8 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 25 Apr 2008 17:28:50 -0700 Subject: [PATCH] BUG #5 Fixes crash when a non-existent command is given to dpctl. --- utilities/dpctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/dpctl.c b/utilities/dpctl.c index fa1d6f9f1..c3fe8cd6c 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 }, }; -- 2.43.0