diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 16:13:22 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-07-09 16:44:41 +0200 |
commit | cf05bc9424e73d2644c335cf905f929f4c398ea2 (patch) | |
tree | b1c51c11bf202285aeeb88d3f51d133d4c9e34a7 | |
parent | Merge pull request #4655 from qlyoung/fix-vrrp-iface-del-infiniteloop (diff) | |
download | frr-cf05bc9424e73d2644c335cf905f929f4c398ea2.tar.xz frr-cf05bc9424e73d2644c335cf905f929f4c398ea2.zip |
zebra: Modify zebra to order nexthops received
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 9cfaef3a8..afe59b959 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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++; } |