--- mod_rpaf-0.6/mod_rpaf-2.0.c 2008-01-01 12:05:40.000000000 +0900 +++ mod_rpaf-0.6-classA/mod_rpaf-2.0.c 2010-07-02 17:19:23.000000000 +0900 @@ -139,7 +139,7 @@ int i; char **list = (char**)proxy_ips->elts; for (i = 0; i < proxy_ips->nelts; i++) { - if (strcmp(remote_ip, list[i]) == 0) + if (strncmp(remote_ip, list[i], strlen(list[i])) == 0) return 1; } return 0;