Michael Qiu 78ef434ae2 app/testpmd: fix crash when port id out of bound
In testpmd, when using "rx_vlan add 1 77", it will be a segment fault
Because the port ID should be less than 32.

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

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
2015-07-30 02:15:32 +02:00
..
2015-07-27 19:20:45 +02:00
2015-03-10 11:47:46 +01:00
2015-05-22 15:51:38 +02:00
2015-06-12 11:10:10 +02:00
2014-06-11 00:29:34 +02:00
2015-07-26 22:54:31 +02:00
2015-07-27 19:20:45 +02:00
2015-07-27 19:20:45 +02:00