Initialize co.use_set variable before parsing each new rule.

PR:		bin/134975
MFC after:	2 weeks
This commit is contained in:
Andrey V. Elsukov 2011-06-06 11:10:38 +00:00
parent 796051d664
commit 71f3650a41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222745

View File

@ -356,6 +356,7 @@ ipfw_main(int oldac, char **oldav)
*/
co.do_nat = 0;
co.do_pipe = 0;
co.use_set = 0;
if (!strncmp(*av, "nat", strlen(*av)))
co.do_nat = 1;
else if (!strncmp(*av, "pipe", strlen(*av)))