summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-07-27 21:03:16 -0400
committerChris Buechler <cmb@pfsense.org>2010-07-27 21:03:16 -0400
commit81c642846be251a5ae45364c5e81405dd033c7a2 (patch)
treee6428de56627928b807ad4bbff3a1cfb33f48a37 /etc/inc
parentcf652f81e5f83b6aa71830e452b5d583d4de7db7 (diff)
downloadpfsense-81c642846be251a5ae45364c5e81405dd033c7a2.zip
pfsense-81c642846be251a5ae45364c5e81405dd033c7a2.tar.gz
partially fix Status>CARP enable/disable
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 73e5554..9a231ae 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2753,6 +2753,7 @@ function find_number_of_created_carp_interfaces() {
function get_all_carp_interfaces() {
$ints = str_replace("\n", " ", `ifconfig | grep "carp:" -B2 | grep ": flag" | cut -d: -f1`);
+ $ints = explode(" ", $ints);
return $ints;
}
OpenPOWER on IntegriCloud