app/testpmd: stop forwarding on exit
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 14 Jun 2016 15:35:42 +0000 (16:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 08:20:29 +0000 (10:20 +0200)
commitd76c19309a0b789d0f43e911db11c3ba3095819d
tree4be70885c9c3099ab5478f23993d6434a38f993d
parent1e1d6bdd6d0f7bbe29b283c25acd65381fc5a046
app/testpmd: stop forwarding on exit

Stop forwarding on exit whether all ports are started or not.

Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/testpmd.c