mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r206266: Set net.inet6.ip6.fw.enable as well.
This commit is contained in:
parent
e3359a8c1a
commit
e42bcb8719
1 changed files with 2 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue