Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 12:28:08 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206266 - head/sbin/ipfw
Message-ID:  <201004061228.o36CS86h064141@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004061228.o36CS86h064141>