diff options
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/map/ip4_map.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vnet/vnet/map/ip4_map.c b/vnet/vnet/map/ip4_map.c index 7b9b3ed9d89..254b9790967 100644 --- a/vnet/vnet/map/ip4_map.c +++ b/vnet/vnet/map/ip4_map.c @@ -257,8 +257,6 @@ ip4_map (vlib_main_t *vm, p1 = vlib_get_buffer(vm, pi1); ip40 = vlib_buffer_get_current(p0); ip41 = vlib_buffer_get_current(p1); - p0->current_length = clib_net_to_host_u16(ip40->length); - p1->current_length = clib_net_to_host_u16(ip41->length); d0 = ip4_map_get_domain(vnet_buffer(p0)->ip.adj_index[VLIB_TX], &map_domain_index0); d1 = ip4_map_get_domain(vnet_buffer(p1)->ip.adj_index[VLIB_TX], &map_domain_index1); ASSERT(d0); @@ -379,7 +377,6 @@ ip4_map (vlib_main_t *vm, p0 = vlib_get_buffer(vm, pi0); ip40 = vlib_buffer_get_current(p0); - p0->current_length = clib_net_to_host_u16(ip40->length); d0 = ip4_map_get_domain(vnet_buffer(p0)->ip.adj_index[VLIB_TX], &map_domain_index0); ASSERT(d0); |