examples/tep_term: fix L4 length
authorMichael Qiu <qiudayu@chinac.com>
Tue, 18 Oct 2016 05:49:06 +0000 (13:49 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 25 Oct 2016 15:50:34 +0000 (17:50 +0200)
commit39f84786a23897596c42124c4416fc443bc9b688
treeee5ed6800f989e459a3cee48c589b052f10a5d39
parent3c55519274cfcf45b705bf7c77d5279a6e196dbf
examples/tep_term: fix L4 length

l4_len is not fixed, althrough mostly it is a fixed value,
but when guest using iperf to do some tests, the l4_len
will have another 12 bytes optional fields.

Fixes: 2bb43bd4350a ("examples/tep_term: add TSO offload configuration")

Signed-off-by: Michael Qiu <qiudayu@chinac.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
examples/tep_termination/vxlan.c