diff options
Diffstat (limited to 'zebra/zebra_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 1494e3bed3..af3c1b818f 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -984,7 +984,8 @@ static int compare_state(struct route_entry *r1, struct route_entry *r2) if (r1->metric != r2->metric) return 1; - if (r1->nexthop_num != r2->nexthop_num) + if (nexthop_group_nexthop_num(r1->ng) + != nexthop_group_nexthop_num(r2->ng)) return 1; if (nexthop_group_hash(r1->ng) != nexthop_group_hash(r2->ng)) |
