summaryrefslogtreecommitdiffstats
path: root/lib/nexthop_group.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-10 21:16:09 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-14 13:32:39 +0100
commitd604266ced3bebd0907c76908e70e70884a353cc (patch)
tree52b18429ff935524f089e25e66370a1d1391a877 /lib/nexthop_group.c
parentlib: Add nexthop-group cli (diff)
downloadfrr-d604266ced3bebd0907c76908e70e70884a353cc.tar.xz
frr-d604266ced3bebd0907c76908e70e70884a353cc.zip
lib: Expose nhgc_find command
Expose to the world the nhgc_find command so that interested parties can find a stored nexthop group. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop_group.c')
-rw-r--r--lib/nexthop_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c
index 2012fbdbe..0cfbeb8f4 100644
--- a/lib/nexthop_group.c
+++ b/lib/nexthop_group.c
@@ -160,7 +160,7 @@ static void nhgc_delete_nexthops(struct nexthop_group_cmd *nhgc)
}
}
-static struct nexthop_group_cmd *nhgc_find(const char *name)
+struct nexthop_group_cmd *nhgc_find(const char *name)
{
struct nexthop_group_cmd find;