diff --git a/exec/totemip.c b/exec/totemip.c index 4c2eafee..7accf71a 100644 --- a/exec/totemip.c +++ b/exec/totemip.c @@ -97,10 +97,10 @@ int totemip_sa_equal(const struct totem_ip_address *totem_ip, { int res; - res = -1; + res = 0; if (totem_ip->family != sa->sa_family) { - return 0; + return (res); } switch (totem_ip->family) {