]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_mpls.c
zebra_mpls. Set best lsp nhlfe to null on deletion
authorFredi Raspall <fredi@voltanet.io>
Wed, 30 Nov 2016 18:15:07 +0000 (19:15 +0100)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 14 Dec 2016 20:28:26 +0000 (18:28 -0200)
commitbb49a12161b8ab63bdf2f2f3f1566aa1bb32d124
treee112d3573237bc64cc09542d6e1242bed95e758f
parent6ba069f3ba5b057afe9c3a144be2928efcdb6520
zebra_mpls. Set best lsp nhlfe to null on deletion

When a nhlfe was deleted and it happened to be the best,
lsp->best_nhlfe was not updated causing lsp_process() to see
an inexistent nhlfe.
Fix: set lsp->best_nhlfe to null on deletion.
zebra/zebra_mpls.c