Date: Mon, 20 Jun 2011 13:51:53 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r223338 - stable/8/sbin/ipfw Message-ID: <201106201351.p5KDprJV052499@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Mon Jun 20 13:51:53 2011 New Revision: 223338 URL: http://svn.freebsd.org/changeset/base/223338 Log: MFC r222745: Initialize co.use_set variable before parsing each new rule. PR: bin/134975 Modified: stable/8/sbin/ipfw/main.c Directory Properties: stable/8/sbin/ipfw/ (props changed) Modified: stable/8/sbin/ipfw/main.c ============================================================================== --- stable/8/sbin/ipfw/main.c Mon Jun 20 13:46:57 2011 (r223337) +++ stable/8/sbin/ipfw/main.c Mon Jun 20 13:51:53 2011 (r223338) @@ -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?201106201351.p5KDprJV052499>