(s/RemoteIPProxyProtocolDisableNetworks/RemoteIPProxyProtocolExceptions/)
Use cmd->cmd->name instead to be future proof.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1790457 13f79535-47bb-0310-9956-
ffa450edef68
&remoteip_module);
if (argc == 0)
- return "RemoteIPProxyProtocolDisableNetworks requires an argument";
+ return apr_pstrcat(p, cmd->cmd->name, " requires an argument", NULL);
for (i=0; i<argc; i++) {
rv = apr_ipsubnet_create(ip, addr, mask, p);
- if(APR_STATUS_IS_EINVAL(rv)) {
+ if (APR_STATUS_IS_EINVAL(rv)) {
/* looked nothing like an IP address */
return apr_psprintf(p, "ip address '%s' appears to be invalid", addr);
}