diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-09-18 12:09:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-18 12:09:08 -0400 |
| commit | 0a0d4f9e2e8bdf9d378c1c07a60e11f8a1bb7cec (patch) | |
| tree | f1b201868290d3d7bf3f548427d4bbb3ee0fddc4 | |
| parent | 41b209ce1813487c21146c59b296fe261ad2d297 (diff) | |
| parent | 90a570ed27d874067d9b1e259a290966c7c8ef4e (diff) | |
Merge pull request #5006 from manuhalo/fix_ftn_uninstall
zebra: fix mpls ftn uninstall
| -rw-r--r-- | zebra/zebra_mpls.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 3c4497ebd2..8088ec1bfe 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -2326,8 +2326,10 @@ static int zebra_mpls_cleanup_zclient_labels(struct zserv *client) &args); /* Cleanup FTNs. */ - mpls_ftn_uninstall_all(zvrf, AFI_IP, client->proto); - mpls_ftn_uninstall_all(zvrf, AFI_IP6, client->proto); + mpls_ftn_uninstall_all(zvrf, AFI_IP, + lsp_type_from_re_type(client->proto)); + mpls_ftn_uninstall_all(zvrf, AFI_IP6, + lsp_type_from_re_type(client->proto)); } return 0; |
