diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-05-14 10:48:26 -0700 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-05-23 12:21:15 -0400 |
| commit | 78fba41bd810ce6e8976077c37644e9d23b9f69d (patch) | |
| tree | 592fd555de7535a972617b94aa57599ae9f325d6 /zebra/zebra_rib.c | |
| parent | 2ed74b933dbf980422cc5d4da76b168297e133e6 (diff) | |
lib,zebra,bgpd: Remove nexthop_same_no_recurse()
The functions nexthop_same() does not check the resolved
nexthops so I don't think this function is even needed
anymore.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 8f27316669..297fc7e7e7 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2855,7 +2855,7 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, break; } for (ALL_NEXTHOPS(re->ng, rtnh)) - if (nexthop_same_no_recurse(rtnh, nh)) { + if (nexthop_same(rtnh, nh)) { same = re; break; } |
