Author: ume Date: Tue Apr 6 12:28:08 2010 New Revision: 206266 URL: http://svn.freebsd.org/changeset/base/206266
Log: Set net.inet6.ip6.fw.enable as well. Modified: head/sbin/ipfw/ipfw2.c Modified: head/sbin/ipfw/ipfw2.c ============================================================================== --- head/sbin/ipfw/ipfw2.c Tue Apr 6 10:58:40 2010 (r206265) +++ head/sbin/ipfw/ipfw2.c Tue Apr 6 12:28:08 2010 (r206266) @@ -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-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"