[PATCH] app/dumpcap: allow help/version without primary process

Thomas Monjalon thomas at monjalon.net
Tue Feb 22 11:03:06 CET 2022


25/01/2022 04:25, Ben Magistro:
> 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 at gmail.com>
> ---
> --- a/app/dumpcap/main.c
> +++ b/app/dumpcap/main.c
> @@ -781,8 +781,8 @@ int main(int argc, char **argv)
>  
>  	progname = argv[0];
>  
> -	dpdk_init();
>  	parse_opts(argc, argv);
> +	dpdk_init();

Stephen, Reshma, any comment?





More information about the dev mailing list