summaryrefslogtreecommitdiffstats
path: root/etc/inc/globals.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-03-03 14:18:46 -0500
committerjim-p <jimp@pfsense.org>2015-03-03 14:19:25 -0500
commit1dbe220c9b201550bf9f10c45ab14b8d30c4bacd (patch)
treeec55bb3a12113a41a139c848cd4aef6a2e366f33 /etc/inc/globals.inc
parentbe83cc296ef0f4d4070af1f0283c5453369fa728 (diff)
downloadpfsense-1dbe220c9b201550bf9f10c45ab14b8d30c4bacd.zip
pfsense-1dbe220c9b201550bf9f10c45ab14b8d30c4bacd.tar.gz
Tweak the carp demotion factors slightly to avoid CARP transitions that are most likely unnecessary.
Diffstat (limited to 'etc/inc/globals.inc')
-rw-r--r--etc/inc/globals.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 2194de1..c1ae233 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -166,6 +166,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"net.enc.out.ipsec_filter_mask" => "0x0001",
"net.enc.in.ipsec_bpf_mask" => "0x0002",
"net.enc.in.ipsec_filter_mask" => "0x0002"
+ "net.inet.carp.senderr_demotion_factor" => 0, /* Do not demote CARP for interface send errors */
+ "net.pfsync.carp_demotion_factor" => 0 /* Do not demote CARP for pfsync errors */
);
/* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */
OpenPOWER on IntegriCloud