summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-24 19:34:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-24 19:34:54 +0000
commit54dce66fc973f9186b60310327b56d9ebb9426c9 (patch)
treeb5d85f231d711a8607bfacbe7e3ba9c6d10f8c0f /usr/local/www/carp_status.php
parented0e959b7ecc880459f46c7216c9e1255e358a3e (diff)
downloadpfsense-54dce66fc973f9186b60310327b56d9ebb9426c9.zip
pfsense-54dce66fc973f9186b60310327b56d9ebb9426c9.tar.gz
Include the remaining portion of the page if no carp addresses are available
Diffstat (limited to 'usr/local/www/carp_status.php')
-rwxr-xr-xusr/local/www/carp_status.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 0c580af..a020bce 100755
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -92,7 +92,10 @@ include("fbegin.inc");
}
if(!is_array($config['installedpackages']['carp']['config'])) {
- echo "</td></tr></table>Could not locate any defined CARP interfaces.";
+ echo "</td></tr></table><center>Could not locate any defined CARP interfaces.";
+ echo "</center></td></tr></table></td></tr></table>";
+ <?php include("fend.inc"); ?>
+ echo "</body></html>";
exit;
}
?>
OpenPOWER on IntegriCloud