summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5b0c722..2bdffae 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -388,7 +388,7 @@ function interfaces_carp_configure() {
exec("/sbin/pfctl -f /tmp/rules.boot");
}
/* setup pfsync interface */
- if($carp_sync_int)
+ if($carp_sync_int and $pfsyncenabled)
mwexec("/sbin/ifconfig pfsync0 syncdev {$carp_sync_int} up");
else
mwexec("/sbin/ifconfig pfsync0 syncdev lo0 up");
OpenPOWER on IntegriCloud