diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-15 17:39:12 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 17:13:36 +0200 |
commit | 9a0d4dd39be7cbed048e45b5a27ceb81608d76f6 (patch) | |
tree | 6f99e0b22fb96b36e6c84876cd863336410b0d0b /zebra/zebra_fpm_dt.c | |
parent | zebra: Remove re->nexthop_num from re (diff) | |
download | frr-9a0d4dd39be7cbed048e45b5a27ceb81608d76f6.tar.xz frr-9a0d4dd39be7cbed048e45b5a27ceb81608d76f6.zip |
zebra: Remove nexthop_active_num from route entry
The nexthop_active_num data structure is a property of the
nexthop group. Move the keeping of this data to that.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_fpm_dt.c')
-rw-r--r-- | zebra/zebra_fpm_dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_fpm_dt.c b/zebra/zebra_fpm_dt.c index e87fa0ad7..debcf60ee 100644 --- a/zebra/zebra_fpm_dt.c +++ b/zebra/zebra_fpm_dt.c @@ -90,7 +90,7 @@ static int zfpm_dt_find_route(rib_dest_t **dest_p, struct route_entry **re_p) if (!re) continue; - if (re->nexthop_active_num <= 0) + if (nexthop_group_active_nexthop_num(re->ng) == 0) continue; *dest_p = dest; |