app/testpmd: fix duplicate exit
authorBrian Archbold <brian.archbold@intel.com>
Wed, 22 Aug 2018 06:05:06 +0000 (07:05 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commit27c7031e0b49abbaf13ea4c4a809a07b9282422d
tree8cd88ee9327a02a728ea036b0273419a6d70a439
parent4bfcbcf5c9f64fbc347fb5ced9ecd5e0ea5a3f47
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: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Brian Archbold <brian.archbold@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c