View | Details | Raw Unified | Return to bug 62220
Collapse All | Expand All

(-)modules/metadata/mod_remoteip.c (-2 / +2 lines)
Lines 904-911 Link Here
904
                                &remoteip_module);
904
                                &remoteip_module);
905
905
906
    /* check if we're enabled for this connection */
906
    /* check if we're enabled for this connection */
907
    if (!remoteip_addr_in_list(conf->proxy_protocol_enabled, c->local_addr)
907
    if ((conf->proxy_protocol_enabled && !remoteip_addr_in_list(conf->proxy_protocol_enabled, c->local_addr))
908
        || remoteip_addr_in_list(conf->proxy_protocol_disabled, c->local_addr)) {
908
        || (conf->proxy_protocol_disabled && remoteip_addr_in_list(conf->proxy_protocol_disabled, c->local_addr))) {
909
909
910
        return DECLINED;
910
        return DECLINED;
911
    }
911
    }

Return to bug 62220