Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/nexthop.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ bool nexthop_same_no_ifindex(const struct nexthop *nh1, const struct nexthop *nh
if (nh1 == nh2)
return true;

return nexthop_cmp_internal(nh1, nh2, true, false);
return (nexthop_cmp_internal(nh1, nh2, true, false) == 0);
}

bool nexthop_same(const struct nexthop *nh1, const struct nexthop *nh2)
Expand Down
Loading