Initialize co.use_set variable before parsing each new rule.
PR: bin/134975 MFC after: 2 weeks
This commit is contained in:
parent
796051d664
commit
71f3650a41
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user