diff --git a/src/acl.c b/src/acl.c index 4efc82a..6fa70e9 100644 --- a/src/acl.c +++ b/src/acl.c @@ -292,7 +292,7 @@ static int check_numeric_acl (const struct acl_s *acl, const char *ip) /* If x and y don't match, the IP addresses don't match */ if (x != y) - return 0; + return -1; } /* The addresses match, return the permission */