app/testpmd: check for valid socket id when attaching port
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 14 Jun 2016 15:35:40 +0000 (16:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 08:20:28 +0000 (10:20 +0200)
commit931126baaf8b0695cebb20927806ced14d8e93ad
tree9432315405d1291de69cc77268467e4323ea510d
parentedf87b4ad0fe706f704868ffa6a80684c7c0a26c
app/testpmd: check for valid socket id when attaching port

Fixes: edab33b1c01d ("app/testpmd: support port hotplug")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/testpmd.c