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)))
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to