summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-18 16:38:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-18 16:38:43 +0000
commitc5d5ffaf0b406829c86c269012fb61fc0038b2ee (patch)
tree74fef133c99bcd0e6064eb0417fc96fe4926e406 /etc
parentab34f4ecb28026e94b2627df59423b3e35685ee9 (diff)
downloadpfsense-c5d5ffaf0b406829c86c269012fb61fc0038b2ee.zip
pfsense-c5d5ffaf0b406829c86c269012fb61fc0038b2ee.tar.gz
Do not setup carp pfsync interface unless pfsync is enabled
Really not sure how this fell through the cracks. Grr.
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