isisd, ospfd: update 'client close' callback to 'ldp fail' api

Update 'client close' callback to 'ldp fail' api.

Signed-off-by: Karen Schoener <karen@voltanet.io>
This commit is contained in:
Karen Schoener 2020-12-10 13:35:34 -05:00
parent 101ad544fa
commit c3783ac077
2 changed files with 2 additions and 2 deletions

View File

@ -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); circuit_lookup_by_ifp(ifp, area->circuit_list);
if (circuit == NULL) if (circuit == NULL)
continue; continue;
isis_ldp_sync_if_start(circuit, true); isis_ldp_sync_ldp_fail(circuit);
} }
} }
} }

View File

@ -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); vrf = vrf_lookup_by_id(ospf->vrf_id);
FOR_ALL_INTERFACES (vrf, ifp) 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) void ospf_ldp_sync_ldp_fail(struct interface *ifp)