]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_route.c
ospf6d: ospf6_route_cmp_nexthops make return sane
authorDonald Sharp <sharpd@nvidia.com>
Mon, 28 Nov 2022 14:41:03 +0000 (09:41 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 28 Nov 2022 14:41:03 +0000 (09:41 -0500)
commit8f1bf68740ed1db4d60966be9bdf5e44640e1939
treec53b4aace14c0db0b28c7f62f36e4fe66730cf22
parent7b7ca2d31938c6420c9fc795592fcef9811c6bbe
ospf6d: ospf6_route_cmp_nexthops make return sane

The ospf6_route_cmp_nexthops function was returning 0 for same
and 1 for not same.  Let's reverse the polarity and actually make
the returns useful long term.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6_abr.c
ospf6d/ospf6_route.c
ospf6d/ospf6_route.h