app/testpmd: fix packet headers in txonly mode
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 9 Apr 2019 09:45:47 +0000 (09:45 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit1eab29b9b8bd7ec9556f77b40cd1ace41e961b17
tree25a030c8a84a337cf778b1b695c30c5aa0a75f36
parentbac46c6fefabaa9c5a28ff3b49a0b3c69154edb2
app/testpmd: fix packet headers in txonly mode

Fix ether header size calculation in Tx only mode.

Coverity issue: 337684
Fixes: 01b645dcff7f ("app/testpmd: move txonly prepare in separate function")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/txonly.c