Commit 79cba43f authored by Franco Fichtner's avatar Franco Fichtner

system: prevent carp demotion, closes #1100

Suggested by: @andreas-p
Inspired by:  pfSense

(cherry picked from commit 79a2008b)
parent f3d6049b
......@@ -119,6 +119,8 @@ function activate_sysctls()
"net.enc.in.ipsec_filter_mask" => "0x0002",
"net.enc.out.ipsec_bpf_mask" => "0x0001",
"net.enc.out.ipsec_filter_mask" => "0x0001",
'net.inet.carp.senderr_demotion_factor' => '0',
'net.pfsync.carp_demotion_factor' => '0',
);
if (isset($config['sysctl']['item'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment