svn commit: r222745 - head/sbin/ipfw
Andrey V. Elsukov
ae at FreeBSD.org
Mon Jun 6 11:10:38 UTC 2011
Author: ae
Date: Mon Jun 6 11:10:38 2011
New Revision: 222745
URL: http://svn.freebsd.org/changeset/base/222745
Log:
Initialize co.use_set variable before parsing each new rule.
PR: bin/134975
MFC after: 2 weeks
Modified:
head/sbin/ipfw/main.c
Modified: head/sbin/ipfw/main.c
==============================================================================
--- head/sbin/ipfw/main.c Mon Jun 6 10:52:26 2011 (r222744)
+++ head/sbin/ipfw/main.c Mon Jun 6 11:10:38 2011 (r222745)
@@ -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)))
More information about the svn-src-all
mailing list