Change-Id: I5c1df59bce7c9654101672a12981e5bd62e9adc4
Signed-off-by: Neale Ranns <nranns@cisco.com>
*((u64 *) eth) = temp_8;
*((u32 *) (eth + 8)) = temp_4;
- /* Update l2_len */
+ /* Update l2 parameters */
vnet_buffer (b0)->l2.l2_len +=
(word) config->push_bytes - (word) config->pop_bytes;
+ vnet_buffer (b0)->l2_hdr_offset -=
+ (word) config->push_bytes - (word) config->pop_bytes;
/* Update vlan tag count */
ethernet_buffer_adjust_vlan_count_by_bytes (b0,