app/testpmd: fix port parsing in show port info command
authorXuelin Shi <xuelin.shi@freescale.com>
Fri, 6 Feb 2015 01:29:20 +0000 (09:29 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 14 Feb 2015 10:35:24 +0000 (11:35 +0100)
commit3e0d91bf42831d419b9c0e35e173f026a547851e
treefbd22b9a00e2104ff544e76dd60e12e27ddea10f
parented2547b68fb0b47d2b17ce6a16a5b8f299b0ead4
app/testpmd: fix port parsing in show port info command

The port number type should be consistent with librte_cmdline,
else there is potential endian issue.

Signed-off-by: Xuelin Shi <xuelin.shi@freescale.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/cmdline.c