From a8dde09f97dfdec56bfb43fb7392eb9835bf414e Mon Sep 17 00:00:00 2001 From: Ben Magistro Date: Tue, 25 Jan 2022 03:25:45 +0000 Subject: [PATCH] app/dumpcap: allow help/version without primary process Currently dumpcap tries to initialize dpdk before parsing command line arguments, this makes it impossible to check version or help without having the primary process running already. Signed-off-by: Ben Magistro --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c index 536ec64711..a6041d4ff4 100644 --- a/app/dumpcap/main.c +++ b/app/dumpcap/main.c @@ -786,8 +786,8 @@ int main(int argc, char **argv) progname = argv[0]; - dpdk_init(); parse_opts(argc, argv); + dpdk_init(); if (filter_str) compile_filter(); -- 2.39.5