Date: Mon, 6 Jun 2011 11:10:38 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222745 - head/sbin/ipfw Message-ID: <201106061110.p56BAcmv028483@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106061110.p56BAcmv028483>