BIER in non-MPLS netowrks
[vpp.git] / src / vnet / bier / bier_imp_node.c
index e9aae93..9c09d67 100644 (file)
@@ -134,6 +134,12 @@ bier_imp_dpo_inline (vlib_main_t * vm,
                                       BIER_HDR_ENTROPY_FIELD_MASK) <<
                                      BIER_HDR_ENTROPY_FIELD_SHIFT);
 
+            /*
+             * use TTL 64 for the post enacp MPLS label/BIFT-ID
+             * this we be decremeted in bier_output node.
+             */
+            vnet_buffer(b0)->mpls.ttl = 65;
+
             /* next node */
             next0 = bimp0->bi_dpo[fproto].dpoi_next_node;
             vnet_buffer(b0)->ip.adj_index[VLIB_TX] =