diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2018-08-17 04:36:50 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-08-20 12:13:18 +0000 |
commit | 3575abb79c65fdada241e3dc879e000c0fbe9b55 (patch) | |
tree | 367764b7927d8c36141a2bd0249b0617e67e329f /src/vnet/vxlan-gpe | |
parent | 9f540ed348e3a3ef01951208211603a07fd574d6 (diff) |
vxlan_gpe_encap: fix packet len error
Change-Id: I294be184764b45777d6e5e44f5d742b2c8732de4
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/vnet/vxlan-gpe')
-rw-r--r-- | src/vnet/vxlan-gpe/encap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/vxlan-gpe/encap.c b/src/vnet/vxlan-gpe/encap.c index c97972bc4e2..e62a84ed59f 100644 --- a/src/vnet/vxlan-gpe/encap.c +++ b/src/vnet/vxlan-gpe/encap.c @@ -242,7 +242,7 @@ vxlan_gpe_encap (vlib_main_t * vm, pkts_encapsulated += 2; len0 = vlib_buffer_length_in_chain (vm, b0); - len1 = vlib_buffer_length_in_chain (vm, b0); + len1 = vlib_buffer_length_in_chain (vm, b1); stats_n_packets += 2; stats_n_bytes += len0 + len1; |