diff options
-rw-r--r-- | etc/inc/system.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 96b7d07..2e3b44f 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -65,10 +65,10 @@ function activate_sysctls() { global $config, $g; if ($g['platform'] == 'jail') return; - exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=1"); - exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=1"); - exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=2"); - exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=2"); + exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=0x0001"); + exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=0x0001"); + exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x0002"); + exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=0x0002"); if(is_array($config['sysctl'])) { foreach($config['sysctl']['item'] as $tunable) { |