summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-11 20:37:18 +0000
committerErmal <eri@pfsense.org>2011-07-11 20:37:18 +0000
commit2eb9c02f54eed8bb9266b96861fdb349986ac94b (patch)
treec4f253f951350cdb8f1c56a33b765e27de1d2614
parent6930e805be1c889f656c2369d72c49dd8bec2bc0 (diff)
downloadpfsense-2eb9c02f54eed8bb9266b96861fdb349986ac94b.zip
pfsense-2eb9c02f54eed8bb9266b96861fdb349986ac94b.tar.gz
Actually give pfsync time to catch up.
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e7607e1..f8a5eaf 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1683,6 +1683,8 @@ function interfaces_carp_setup() {
$cmdchain->add(gettext("Bring up pfsync0"), "/sbin/ifconfig pfsync0 syncdev lo0 up", false);
if ($g['booting']) {
+ sleep(1);
+
/* XXX: Handle an issue with pfsync(4) and carp(4). In a cluster carp will come up before pfsync(4) has updated and so will cause issuese
* for exiting sessions.
*/
OpenPOWER on IntegriCloud