diff options
author | Ermal <eri@pfsense.org> | 2012-10-04 20:51:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-10-04 20:51:30 +0000 |
commit | e4d7130d8a9fb9c94d68d2735f30975b45ae7b73 (patch) | |
tree | 022b547623b5190ab0c16bf73e02ea82e51f2e64 /etc/inc | |
parent | 3c107b76f40a3208bba287f2c19c27e3cc79c669 (diff) | |
download | pfsense-e4d7130d8a9fb9c94d68d2735f30975b45ae7b73.zip pfsense-e4d7130d8a9fb9c94d68d2735f30975b45ae7b73.tar.gz |
Use integer rather than hex to put these values. AMD64 builds do rather awkward problems
Diffstat (limited to 'etc/inc')
-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 a9925e8..96b7d07 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=0x00000001"); - exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=0x00000001"); - exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x00000002"); - exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=0x00000002"); + 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"); if(is_array($config['sysctl'])) { foreach($config['sysctl']['item'] as $tunable) { |