diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-03 04:11:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-03 04:11:50 +0000 |
commit | 007ce569bb001086de975a1f41d1fbdd2b0069a8 (patch) | |
tree | d29c9371a85ede013cff57f125a14e2e30b90cde | |
parent | 99d907f132f5b78acd628f7b9e283f0ed148495f (diff) | |
download | pfsense-007ce569bb001086de975a1f41d1fbdd2b0069a8.zip pfsense-007ce569bb001086de975a1f41d1fbdd2b0069a8.tar.gz |
If carp is not enabled then do not process
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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(); |