Author: ume
Date: Sun Apr 11 15:17:52 2010
New Revision: 206478
URL: http://svn.freebsd.org/changeset/base/206478

Log:
  MFC r206266: Set net.inet6.ip6.fw.enable as well.

Modified:
  stable/8/sbin/ipfw/ipfw2.c
Directory Properties:
  stable/8/sbin/ipfw/   (props changed)

Modified: stable/8/sbin/ipfw/ipfw2.c
==============================================================================
--- stable/8/sbin/ipfw/ipfw2.c  Sun Apr 11 13:51:20 2010        (r206477)
+++ stable/8/sbin/ipfw/ipfw2.c  Sun Apr 11 15:17:52 2010        (r206478)
@@ -1740,6 +1740,8 @@ ipfw_sysctl_handler(char *av[], int whic
        } else if (_substrcmp(*av, "firewall") == 0) {
                sysctlbyname("net.inet.ip.fw.enable", NULL, 0,
                    &which, sizeof(which));
+               sysctlbyname("net.inet6.ip6.fw.enable", NULL, 0,
+                   &which, sizeof(which));
        } else if (_substrcmp(*av, "one_pass") == 0) {
                sysctlbyname("net.inet.ip.fw.one_pass", NULL, 0,
                    &which, sizeof(which));
_______________________________________________
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