Skip to content

Commit

Permalink
No need to push the Destination label in mpls0 when PQ node is firsth…
Browse files Browse the repository at this point in the history
…op node and

penultimate hop node.
  • Loading branch information
sachinites committed Jan 7, 2020
1 parent ec443a0 commit 7a3fdcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tilfa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,12 +1286,13 @@ tilfa_compute_segment_list_from_tilfa_raw_results
gensegment_list[i].inet3_mpls_label_out[stack_top].seg_type = TILFA_PREFIX_SID_REFERENCE;
gensegment_list[i].inet3_mpls_label_out[stack_top].u.node = dest;
gensegment_list[i].inet3_stack_op[stack_top] = PUSH;

#if 0
/*mpls.0*/
/*Swap the dest node only*/
gensegment_list[i].mpls0_mpls_label_out[stack_top].seg_type = TILFA_PREFIX_SID_REFERENCE;
gensegment_list[i].mpls0_mpls_label_out[stack_top].u.node = dest;
gensegment_list[i].mpls0_stack_op[stack_top] = SWAP;
#endif
i++;
}
}
Expand Down

0 comments on commit 7a3fdcd

Please sign in to comment.