mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
Merge pull request #14947 from pguibert6WIND/nexthop_num_no_recurse_static
lib: fix nexthop_group_nexthop_num_no_recurse() is static
This commit is contained in:
commit
edb1cb8dab
@ -81,7 +81,8 @@ uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg)
|
|||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg)
|
static uint8_t
|
||||||
|
nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg)
|
||||||
{
|
{
|
||||||
struct nexthop *nhop;
|
struct nexthop *nhop;
|
||||||
uint8_t num = 0;
|
uint8_t num = 0;
|
||||||
|
@ -151,8 +151,6 @@ extern void nexthop_group_json_nexthop(json_object *j,
|
|||||||
/* Return the number of nexthops in this nhg */
|
/* Return the number of nexthops in this nhg */
|
||||||
extern uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg);
|
extern uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg);
|
||||||
extern uint8_t
|
extern uint8_t
|
||||||
nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg);
|
|
||||||
extern uint8_t
|
|
||||||
nexthop_group_active_nexthop_num(const struct nexthop_group *nhg);
|
nexthop_group_active_nexthop_num(const struct nexthop_group *nhg);
|
||||||
|
|
||||||
extern bool nexthop_group_has_label(const struct nexthop_group *nhg);
|
extern bool nexthop_group_has_label(const struct nexthop_group *nhg);
|
||||||
|
Loading…
Reference in New Issue
Block a user