]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd, ospfd: update 'client close' callback to 'ldp fail' api 7711/head
authorKaren Schoener <karen@volta.io>
Thu, 10 Dec 2020 18:35:34 +0000 (13:35 -0500)
committerKaren Schoener <karen@volta.io>
Thu, 10 Dec 2020 18:35:34 +0000 (13:35 -0500)
Update 'client close' callback to 'ldp fail' api.

Signed-off-by: Karen Schoener <karen@voltanet.io>
isisd/isis_ldp_sync.c
ospfd/ospf_ldp_sync.c

index 45ee976550cd27a13e895319d9c828865a6857e8..00bef5c7829583f0d6214fc6b31f699718dcbdf5 100644 (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);
                        if (circuit == NULL)
                                continue;
-                       isis_ldp_sync_if_start(circuit, true);
+                       isis_ldp_sync_ldp_fail(circuit);
                }
        }
 }
index 521b808ecc4bb5b3e3715cb4c09077325a94c5ed..b574e2cac86c3d830e38e81b5eacfc3ae5f42476 100644 (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);
        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)