app/testpmd: fix uninitialized members of MPLS
authorOri Kam <orika@mellanox.com>
Thu, 30 Jan 2020 16:59:35 +0000 (16:59 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:21 +0000 (09:51 +0100)
commit56d5c1eedf22a1d384120466e6004faf9933d113
tree04c1e2f73d6def5adb81c4668f5a95f985c2fb3a
parent75dd0ae9176534f06f5e603f456eacbbae73aa28
app/testpmd: fix uninitialized members of MPLS

Some of the members of the MPLS struct are not initialized.
This commit init the uninitialized members.

Coverity issue: 325735
Fixes: 3e77031be855 ("app/testpmd: add MPLSoGRE encapsulation")
Cc: stable@dpdk.org
Signed-off-by: Ori Kam <orika@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline_flow.c