app/testpmd: fix duplicate exit
In interactive mode, when the "quit" command is issued, pmd_test_exit()
is being called twice, once through the "quit" command and the other
after termination of prompt.
Remove duplicated exit routine by removing call from "quit" command.
Steps to reproduce:
- Run testpmd in interactive mode.
- type "quit".
Fixes: af75078fec
("first public release")
Cc: stable@dpdk.org
Signed-off-by: Brian Archbold <brian.archbold@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
This commit is contained in:
parent
4bfcbcf5c9
commit
27c7031e0b
@ -7670,7 +7670,6 @@ static void cmd_quit_parsed(__attribute__((unused)) void *parsed_result,
|
||||
struct cmdline *cl,
|
||||
__attribute__((unused)) void *data)
|
||||
{
|
||||
pmd_test_exit();
|
||||
cmdline_quit(cl);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user