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 <koncept1@gmail.com>
This commit is contained in:
parent
499b1cbcf9
commit
a8dde09f97
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user