From 1e6e5b299c235b513095a76a4cd9fffc41e8fc9c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 17 Jun 2002 18:36:36 +0000 Subject: beginning to sync up for 2.2.5 release.... --- source/lib/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/lib/access.c') diff --git a/source/lib/access.c b/source/lib/access.c index 73b4d57e706..8bf3ba19337 100644 --- a/source/lib/access.c +++ b/source/lib/access.c @@ -33,7 +33,7 @@ static int masked_match(char *tok, char *slash, char *s) if (strlen(slash + 1) > 2) { mask = interpret_addr(slash + 1); } else { - mask = (uint32)((ALLONES >> atoi(slash + 1)) ^ ALLONES); + mask = (uint32)((ALLONES << atoi(slash + 1)) ^ ALLONES); } if (net == INADDR_NONE || mask == INADDR_NONE) { -- cgit