summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-05-14 19:48:26 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-05-23 18:21:15 +0200
commit78fba41bd810ce6e8976077c37644e9d23b9f69d (patch)
tree592fd555de7535a972617b94aa57599ae9f325d6 /lib/nexthop.h
parentlib: Update nexthop_same to use nexthop_cmp (diff)
downloadfrr-78fba41bd810ce6e8976077c37644e9d23b9f69d.tar.xz
frr-78fba41bd810ce6e8976077c37644e9d23b9f69d.zip
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 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 1bc305583..48efc762c 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -142,8 +142,6 @@ extern bool nexthop_same(const struct nexthop *nh1, const struct nexthop *nh2);
extern int nexthop_cmp(const struct nexthop *nh1, const struct nexthop *nh2);
extern const char *nexthop_type_to_str(enum nexthop_types_t nh_type);
-extern int nexthop_same_no_recurse(const struct nexthop *next1,
- const struct nexthop *next2);
extern bool nexthop_labels_match(const struct nexthop *nh1,
const struct nexthop *nh2);
extern int nexthop_same_firsthop(struct nexthop *next1, struct nexthop *next2);