summaryrefslogtreecommitdiff
path: root/lib/nexthop_group.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-12-04 14:11:04 -0500
committerGitHub <noreply@github.com>2019-12-04 14:11:04 -0500
commite302caaa818a2e582a98f16eaa807bc3928bf617 (patch)
treecb6561db9a055c41f910e764f8178cf31637d3ad /lib/nexthop_group.c
parent86637de7f9e93ae64e7be226a5e69e80fb0e2ae4 (diff)
parent0eb97b860dc94329cf9add9f8f3d3a2c7f539568 (diff)
Merge pull request #5416 from mjstapp/re_nhe_pointer
lib,zebra: use shared nexthop-group in route_entry
Diffstat (limited to 'lib/nexthop_group.c')
-rw-r--r--lib/nexthop_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c
index 9552f89568..3e08f1811e 100644
--- a/lib/nexthop_group.c
+++ b/lib/nexthop_group.c
@@ -233,8 +233,8 @@ void _nexthop_add(struct nexthop **target, struct nexthop *nexthop)
nexthop->prev = last;
}
-void _nexthop_group_add_sorted(struct nexthop_group *nhg,
- struct nexthop *nexthop)
+void nexthop_group_add_sorted(struct nexthop_group *nhg,
+ struct nexthop *nexthop)
{
struct nexthop *position, *prev, *tail;