diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-08-08 17:08:36 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-09-06 21:06:11 -0300 |
| commit | 651105b5fb5e928a67349bf49394c69c72435ccf (patch) | |
| tree | 4cdccdd9be782ad41f8a81192793ce23a7d88800 /zebra/zebra_mpls.h | |
| parent | b3c49d0e772f4b555c59f72f2e1aa92be33c1510 (diff) | |
zebra: improve cleanup of MPLS labels when zclient disconnects
Use the zserv_client_close hook to cleanup all MPLS labels advertised
by a zclient when it disconnects. We were doing this cleanup for
ldpd only, but now we have other daemons that are MPLS aware,
like ospfd (due to the new Segment Routing feature).
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_mpls.h')
| -rw-r--r-- | zebra/zebra_mpls.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 1b2849f81c..e8ab46a8d8 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -297,11 +297,6 @@ int mpls_lsp_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type, void mpls_ldp_lsp_uninstall_all(struct hash_bucket *bucket, void *ctxt); /* - * Uninstall all LDP FEC-To-NHLFE (FTN) bindings of the given address-family. - */ -void mpls_ldp_ftn_uninstall_all(struct zebra_vrf *zvrf, int afi); - -/* * Uninstall all Segment Routing NHLFEs for a particular LSP forwarding entry. * If no other NHLFEs exist, the entry would be deleted. */ |
