From: Pablo de Lara Date: Wed, 24 May 2017 10:28:02 +0000 (+0100) Subject: examples/l2fwd-crypto: fix option parsing X-Git-Tag: spdx-start~2954 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f1ae15bac8aaa75aeb4fa886fd4d74d34c373193;p=dpdk.git examples/l2fwd-crypto: fix option parsing Statistics period time option is parsed with -T argument, but -t was accepted by mistake, instead. Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara --- diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 949219357d..66b4af32a1 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -1372,7 +1372,7 @@ l2fwd_crypto_parse_args(struct l2fwd_crypto_options *options, l2fwd_crypto_default_options(options); - while ((opt = getopt_long(argc, argvopt, "p:q:st:", lgopts, + while ((opt = getopt_long(argc, argvopt, "p:q:sT:", lgopts, &option_index)) != EOF) { switch (opt) { /* long options */