1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

* modules/metadata/mod_remoteip.c (remoteip_hook_post_config):

Use the passed-in pointer to ap_server_conf; no functional change.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2026-10-08 08:36:22 +00:00
parent 47717ee2e4
commit 845c5e9ae3

View File

@@ -502,15 +502,14 @@ static const char *remoteip_disable_networks(cmd_parms *cmd, void *d,
}
static int remoteip_hook_post_config(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp, server_rec *s)
apr_pool_t *ptemp, server_rec *s)
{
remoteip_config_t *conf, *vconf;
remoteip_addr_info *info;
server_rec *vs;
char buf[INET6_ADDRSTRLEN];
conf = ap_get_module_config(ap_server_conf->module_config,
&remoteip_module);
conf = ap_get_module_config(s->module_config, &remoteip_module);
for (info = conf->proxy_protocol_enabled; info; info = info->next) {
apr_sockaddr_ip_getbuf(buf, sizeof(buf), info->addr);