svn commit: r206478 - stable/8/sbin/ipfw

Hajimu UMEMOTO ume at FreeBSD.org
Sun Apr 11 15:17:53 UTC 2010


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));


More information about the svn-src-stable-8 mailing list