mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Ipmatch mistake
This commit is contained in:
parent
d4d97505da
commit
f536ba11a7
@ -347,11 +347,11 @@ static int msre_op_ipmatch_execute(modsec_rec *msr, msre_rule *rule, msre_var *v
|
||||
}
|
||||
|
||||
type = strchr(var->value,':');
|
||||
if(type != NULL);
|
||||
if(type != NULL)
|
||||
ipv = 6;
|
||||
|
||||
type = strchr(var->value,'.');
|
||||
if(type != NULL);
|
||||
if(type != NULL)
|
||||
ipv = 4;
|
||||
|
||||
for (; ipdata != NULL; ipdata = ipdata->next) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user