summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2010-04-11 15:17:52 +0000
committerume <ume@FreeBSD.org>2010-04-11 15:17:52 +0000
commit09ed433bcc40a0d0bac22ffaa81136dd8af34e10 (patch)
treeed0151c021a38aac16fd5ceffd948594ed5308c7 /sbin
parent30afb9c34094a089c66118492cdcc21b1384f271 (diff)
downloadFreeBSD-src-09ed433bcc40a0d0bac22ffaa81136dd8af34e10.zip
FreeBSD-src-09ed433bcc40a0d0bac22ffaa81136dd8af34e10.tar.gz
MFC r206266: Set net.inet6.ip6.fw.enable as well.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 9e212fc..41f6e3a 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -1740,6 +1740,8 @@ ipfw_sysctl_handler(char *av[], int which)
} 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));
OpenPOWER on IntegriCloud