summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-03 04:11:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-03 04:11:50 +0000
commit007ce569bb001086de975a1f41d1fbdd2b0069a8 (patch)
treed29c9371a85ede013cff57f125a14e2e30b90cde /etc/inc/interfaces.inc
parent99d907f132f5b78acd628f7b9e283f0ed148495f (diff)
downloadpfsense-007ce569bb001086de975a1f41d1fbdd2b0069a8.zip
pfsense-007ce569bb001086de975a1f41d1fbdd2b0069a8.tar.gz
If carp is not enabled then do not process
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 44ffe47..b984cfe 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -329,6 +329,8 @@ function interfaces_carp_configure() {
$mt = microtime();
echo "interfaces_carp_configure() being called $mt\n";
}
+ if(!$config['installedpackages']['carpsettings']['config'])
+ return;
if ($g['booting'] and !$debugging) {
echo "Configuring CARP interfaces...";
mute_kernel_msgs();
OpenPOWER on IntegriCloud