o Fix an incorrect parsing of 0.0.0.0/0 expression.

PR:		kern/64778
MFC after:	6 weeks
This commit is contained in:
Maxim Konovalov 2004-04-09 17:26:01 +00:00
parent 24c8ae76c2
commit 14533a98b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128067

View File

@ -2055,7 +2055,7 @@ fill_ip(ipfw_insn_ip *cmd, char *av)
errx(EX_DATAERR, "not any never matches");
}
/* else do nothing and skip this entry */
continue;
return;
}
/* A single IP can be stored in an optimized format */
if (d[1] == IP_MASK_ALL && av == NULL && len == 0) {