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

Reply via email to