Merge pull request #5006 from manuhalo/fix_ftn_uninstall

zebra: fix mpls ftn uninstall
This commit is contained in:
Donald Sharp 2019-09-18 12:09:08 -04:00 committed by GitHub
commit 0a0d4f9e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;