diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-01-15 16:31:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-15 16:31:55 -0500 |
| commit | d26e2d9be40f3a5279414f8aafdc574421e01dbc (patch) | |
| tree | 85b62eb6a6e3d1d47f78dd85900a3b31940de26c /lib/nexthop_group.c | |
| parent | a67b69c024d6257c81693668dab465ea17c923aa (diff) | |
| parent | 77bf9504bfcdb977cda2addca27254e22be52f2f (diff) | |
Merge pull request #5600 from sworleys/NHG-Depend-Crash
zebra: can't improve efficiency for recursive depends
Diffstat (limited to 'lib/nexthop_group.c')
| -rw-r--r-- | lib/nexthop_group.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c index d7aceb55b9..3005a51c71 100644 --- a/lib/nexthop_group.c +++ b/lib/nexthop_group.c @@ -364,10 +364,6 @@ void copy_nexthops(struct nexthop **tnh, const struct nexthop *nh, for (nh1 = nh; nh1; nh1 = nh1->next) { nexthop = nexthop_dup(nh1, rparent); _nexthop_add(tnh, nexthop); - - if (CHECK_FLAG(nh1->flags, NEXTHOP_FLAG_RECURSIVE)) - copy_nexthops(&nexthop->resolved, nh1->resolved, - nexthop); } } |
