Skip to content

Commit

Permalink
Merge pull request #5006 from manuhalo/fix_ftn_uninstall
Browse files Browse the repository at this point in the history
zebra: fix mpls ftn uninstall
  • Loading branch information
donaldsharp authored Sep 18, 2019
2 parents 41b209c + 90a570e commit 0a0d4f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zebra/zebra_mpls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0a0d4f9

Please sign in to comment.