BUG/MEDIUM: cache fix cli_kws structure
The cli_kws structure was not ended and was causing undefined behavior.
diff --git a/src/cache.c b/src/cache.c
index c26b3a6..3491015 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -920,10 +920,8 @@
}
static struct cli_kw_list cli_kws = {{},{
- { { "show", "cache", NULL },
- "show cache : show cache status",
- cli_parse_show_cache, cli_io_handler_show_cache, NULL,
- },
+ { { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL },
+ {{},}
}};