Skip to content

Commit

Permalink
Merge pull request FRRouting#7711 from volta-networks/fix_ldpsync_cli…
Browse files Browse the repository at this point in the history
…ent_close_callback

isisd, ospfd: update 'client close' callback to 'ldp fail' api
  • Loading branch information
rwestphal authored Dec 11, 2020
2 parents 101ad54 + c3783ac commit 9c47491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion isisd/isis_ldp_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ void isis_ldp_sync_handle_client_close(struct zapi_client_close_info *info)
circuit_lookup_by_ifp(ifp, area->circuit_list);
if (circuit == NULL)
continue;
isis_ldp_sync_if_start(circuit, true);
isis_ldp_sync_ldp_fail(circuit);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ospfd/ospf_ldp_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void ospf_ldp_sync_handle_client_close(struct zapi_client_close_info *info)

vrf = vrf_lookup_by_id(ospf->vrf_id);
FOR_ALL_INTERFACES (vrf, ifp)
ospf_ldp_sync_if_start(ifp, true);
ospf_ldp_sync_ldp_fail(ifp);
}

void ospf_ldp_sync_ldp_fail(struct interface *ifp)
Expand Down

0 comments on commit 9c47491

Please sign in to comment.