patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] examples/l2fwd-crypto: fix option parsing
@ 2017-05-24 10:28 Pablo de Lara
  2017-05-29 12:40 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo de Lara @ 2017-05-24 10:28 UTC (permalink / raw)
  To: declan.doherty; +Cc: dev, Pablo de Lara, stable

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 <pablo.de.lara.guarch@intel.com>
---
 examples/l2fwd-crypto/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index 9492193..66b4af3 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 */
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] examples/l2fwd-crypto: fix option parsing
  2017-05-24 10:28 [dpdk-stable] [PATCH] examples/l2fwd-crypto: fix option parsing Pablo de Lara
@ 2017-05-29 12:40 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2017-05-29 12:40 UTC (permalink / raw)
  To: Doherty, Declan; +Cc: dev, stable



> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Wednesday, May 24, 2017 11:28 AM
> To: Doherty, Declan
> Cc: dev@dpdk.org; De Lara Guarch, Pablo; stable@dpdk.org
> Subject: [PATCH] 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 <pablo.de.lara.guarch@intel.com>

Applied to dpdk-next-crypto.

Pablo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-stable] [PATCH] examples/l2fwd-crypto: fix option parsing
@ 2017-05-24 10:26 Pablo de Lara
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo de Lara @ 2017-05-24 10:26 UTC (permalink / raw)
  To: declan.doherty; +Cc: Pablo de Lara, stable

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 <pablo.de.lara.guarch@intel.com>
---
 examples/l2fwd-crypto/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index 9492193..66b4af3 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 */
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-29 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24 10:28 [dpdk-stable] [PATCH] examples/l2fwd-crypto: fix option parsing Pablo de Lara
2017-05-29 12:40 ` De Lara Guarch, Pablo
  -- strict thread matches above, loose matches on Subject: below --
2017-05-24 10:26 Pablo de Lara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).