tunnel: support copying TTL and flow label from inner to outer
[vpp.git] / src / vnet / gre / gre.c
index d842d68..a355a22 100644 (file)
@@ -340,7 +340,7 @@ gre46_fixup (vlib_main_t * vm,
   ip0->ip6.payload_length =
     clib_host_to_net_u16 (vlib_buffer_length_in_chain (vm, b0) -
                          sizeof (ip0->ip6));
-  tunnel_encap_fixup_4o6 (flags, (ip4_header_t *) (ip0 + 1), &ip0->ip6);
+  tunnel_encap_fixup_4o6 (flags, b0, (ip4_header_t *) (ip0 + 1), &ip0->ip6);
 }
 
 static void