svn commit: r223339 - stable/7/sbin/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Mon Jun 20 13:52:16 UTC 2011


Author: ae
Date: Mon Jun 20 13:52:14 2011
New Revision: 223339
URL: http://svn.freebsd.org/changeset/base/223339

Log:
  MFC r222745:
    Initialize co.use_set variable before parsing each new rule.
  
    PR:		bin/134975

Modified:
  stable/7/sbin/ipfw/main.c
Directory Properties:
  stable/7/sbin/ipfw/   (props changed)

Modified: stable/7/sbin/ipfw/main.c
==============================================================================
--- stable/7/sbin/ipfw/main.c	Mon Jun 20 13:51:53 2011	(r223338)
+++ stable/7/sbin/ipfw/main.c	Mon Jun 20 13:52:14 2011	(r223339)
@@ -298,6 +298,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