Skip to content

Commit

Permalink
tilfa - cosmetical changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinites committed Jan 11, 2020
1 parent 2afe6a3 commit b1f2c6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions spfcomputation.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,9 @@ build_mpls_nexthop_from_lsp(spf_info_t *spf_info,
strncpy(lspnh->gw_prefix, rsvp_tunnel->gateway, PREFIX_LEN);
lspnh->gw_prefix[PREFIX_LEN] = '\0';
lspnh->nh_type = LSPNH;
lspnh->lfa_type = UNKNOWN_LFA_TYPE;
lspnh->proxy_nbr = (GET_EGDE_PTR_FROM_FROM_EDGE_END(lspnh->oif))->to.node;
lspnh->lfa_type = NO_LFA;
lspnh->proxy_nbr =
(GET_EGDE_PTR_FROM_FROM_EDGE_END(lspnh->oif))->to.node;
lspnh->rlfa = NULL;
lspnh->mpls_label_out[0] = rsvp_tunnel->rsvp_label;
lspnh->stack_op[0] = PUSH;
Expand Down
2 changes: 0 additions & 2 deletions tilfa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,6 @@ tilfa_compute_segment_list_connecting_p_q_nodes
gen_segment_list_t *gensegment_list,
int q_distance,
int pq_distance,
internal_nh_t **first_hop_segments,
protected_resource_t *pr_res){


Expand Down Expand Up @@ -1910,7 +1909,6 @@ tilfa_examine_tilfa_path_for_segment_list(
dst_node, level,
tilfa_segment_list->gen_segment_list,
q_distance, pq_distance,
first_hop_segments,
pr_res);

if(!segment_list_len_from_p_to_q){
Expand Down

0 comments on commit b1f2c6c

Please sign in to comment.