mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 21:33:55 +00:00
pimd: Remove dead code
This code is impossible to reach. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
febdb373c3
commit
bc72292aeb
@ -357,12 +357,6 @@ pim_update_upstream_nh (struct pim_nexthop_cache *pnc)
|
|||||||
enum pim_rpf_result rpf_result;
|
enum pim_rpf_result rpf_result;
|
||||||
struct pim_rpf old;
|
struct pim_rpf old;
|
||||||
|
|
||||||
if (up == NULL)
|
|
||||||
{
|
|
||||||
zlog_debug ("%s: Upstream node is NULL ", __PRETTY_FUNCTION__);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
old.source_nexthop.interface = up->rpf.source_nexthop.interface;
|
old.source_nexthop.interface = up->rpf.source_nexthop.interface;
|
||||||
rpf_result = pim_rpf_update (up, &old, 0);
|
rpf_result = pim_rpf_update (up, &old, 0);
|
||||||
if (rpf_result == PIM_RPF_FAILURE)
|
if (rpf_result == PIM_RPF_FAILURE)
|
||||||
|
Loading…
Reference in New Issue
Block a user