From: Adrien Mazarguil Date: Thu, 19 Apr 2018 10:07:42 +0000 (+0200) Subject: app/testpmd: fix missing boolean values in flow command X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5225e84b70c0bb76b926da1aa193e54d43f102fe;p=dpdk.git app/testpmd: fix missing boolean values in flow command Original implementation lacks the on/off toggle. This patch shows up as a fix because it has been a popular request ever since the first DPDK release with the original implementation but was never addressed. Fixes: abc3d81aca1b ("app/testpmd: add item raw to flow command") Cc: stable@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Nelio Laranjeiro Acked-by: Ferruh Yigit --- diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index fcd76b56e8..f0b4b7bc40 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -2692,6 +2692,7 @@ static const char *const boolean_name[] = { "false", "true", "no", "yes", "N", "Y", + "off", "on", NULL, };