diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:41:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:41:09 +0000 |
commit | 18ae7b3c85c7b2d20265b43817ffd80d64f68c17 (patch) | |
tree | 2b8873a73bc8811bce24c181a229e24c769a697b | |
parent | d8898df4b3abd8de4ba59e0afc134fb94d170df8 (diff) | |
download | pfsense-18ae7b3c85c7b2d20265b43817ffd80d64f68c17.zip pfsense-18ae7b3c85c7b2d20265b43817ffd80d64f68c17.tar.gz |
Ticket #1677 fixes
-rw-r--r-- | etc/inc/interfaces.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index c473d76..73cd071 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -579,6 +579,14 @@ function interfaces_carp_bring_up_final() { /* could not locate an array, return */ if(!is_array($viparr)) return; + $havecarp = false; + foreach ($viparr as $vip) { + /* bail if this isn't a carp VIP */ + if ($vip['mode'] == "carp") + $havecarp = true; + } + if($havecarp == false) + return; $carp_instances_counter = 0; $counter = 0; if($g['booting']) |