mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 23:52:18 +00:00
Merge pull request #4325 from sworleys/Order-Recv-Nexthops
zebra: Modify zebra to order nexthops received
This commit is contained in:
commit
02a71d1015
@ -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