Ipmatch mistake

This commit is contained in:
brenosilva 2011-02-17 18:34:46 +00:00
parent d4d97505da
commit f536ba11a7

View File

@ -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) {