aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_status.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-25 01:51:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-25 01:51:29 +0000
commitf9d79aa027a8843584a0a0363a8a1e50046a4089 (patch)
tree68c1a48aee8a9b3261bfb5edc5567a095f8d2593 /packages/carp_status.php
parent778588fc1045ed8dc1fccb060a93bd856c77cca8 (diff)
downloadpfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.tar.gz
pfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.tar.bz2
pfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.zip
Move message above table.
Diffstat (limited to 'packages/carp_status.php')
-rw-r--r--packages/carp_status.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php
index 6b360c01..bf4c8ba9 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -90,6 +90,11 @@ include("fbegin.inc");
$carp_enabled = true;
echo "<input type=\"submit\" name=\"disablecarp\" id=\"disablecarp\" value=\"Disable Carp\">";
}
+
+if(!is_array($config['installedpackages']['carp']['config'])) {
+ echo "Could not locate any defined CARP interfaces.";
+ exit;
+}
?>
<p>
@@ -103,11 +108,6 @@ include("fbegin.inc");
</tr>
<?php
-if(!is_array($config['installedpackages']['carp']['config'])) {
- echo "<tr><td></td></tr><tr><td></td></tr>Could not locate any defined CARP interfaces.<tr><td></td></tr><tr><td></td></tr></table>";
- exit;
-}
-
if($config['installedpackages']['carp']['config'] <> "")
$carpint=0;
foreach($config['installedpackages']['carp']['config'] as $carp) {