mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 21:06:50 +00:00
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>
This commit is contained in:
parent
3191919156
commit
d604266ced
@ -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;
|
||||
|
||||
|
@ -85,4 +85,7 @@ void nexthop_group_init(
|
||||
|
||||
extern struct nexthop *nexthop_exists(struct nexthop_group *nhg,
|
||||
struct nexthop *nh);
|
||||
|
||||
extern struct nexthop_group_cmd *nhgc_find(const char *name);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user