diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 10:13:22 -0500 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-07-09 10:44:41 -0400 |
| commit | cf05bc9424e73d2644c335cf905f929f4c398ea2 (patch) | |
| tree | b1c51c11bf202285aeeb88d3f51d133d4c9e34a7 /zebra/zebra_rib.c | |
| parent | 379ae68584f6b32db268d83651ca1bd39688f891 (diff) | |
zebra: Modify zebra to order nexthops received
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -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 9cfaef3a89..afe59b9593 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++; } |
