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)))
_______________________________________________
[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