summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-05-17 23:35:29 +0200
committerGitHub <noreply@github.com>2017-05-17 23:35:29 +0200
commit8f58b151431754890c3804b8c2a7515801f3e7a8 (patch)
tree071dbab5f2065ee6ba264e2e02908cbf7fbb1868 /zebra/zebra_rib.c
parent56b6674bc0f774168ea5e8330a7d8c3cb382d0e0 (diff)
parent1dac3a9619c8436f81c7b37f0252574b0b677dd0 (diff)
Merge pull request #562 from dslicenc/small-zebra-fixes
Small zebra fixes
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index e48da0479b..23c4c9ebea 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -366,7 +366,6 @@ nexthop_active_ipv4 (struct rib *rib, struct nexthop *nexthop, int set,
if (set)
{
UNSET_FLAG (nexthop->flags, NEXTHOP_FLAG_RECURSIVE);
- zebra_deregister_rnh_static_nexthops(rib->vrf_id, nexthop->resolved, top);
nexthops_free(nexthop->resolved);
nexthop->resolved = NULL;
rib->nexthop_mtu = 0;
@@ -597,7 +596,6 @@ nexthop_active_ipv6 (struct rib *rib, struct nexthop *nexthop, int set,
if (set)
{
UNSET_FLAG (nexthop->flags, NEXTHOP_FLAG_RECURSIVE);
- zebra_deregister_rnh_static_nexthops (rib->vrf_id, nexthop->resolved, top);
nexthops_free(nexthop->resolved);
nexthop->resolved = NULL;
}