mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +00:00
zebra: Modify zebra to order nexthops received
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
379ae68584
commit
cf05bc9424
@ -193,7 +193,7 @@ int zebra_check_addr(const struct prefix *p)
|
||||
/* Add nexthop to the end of a rib node's nexthop list */
|
||||
void route_entry_nexthop_add(struct route_entry *re, struct nexthop *nexthop)
|
||||
{
|
||||
_nexthop_add(&re->ng.nexthop, nexthop);
|
||||
_nexthop_group_add_sorted(&re->ng, nexthop);
|
||||
re->nexthop_num++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user