summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-05-07 19:13:55 +0000
committerColin Smith <colin@pfsense.org>2005-05-07 19:13:55 +0000
commitb86c59909271e8069433e82bf8f6cf4b3ddc58fd (patch)
tree7681e5e92c6d2ab4ba311528bebeb4d5f84b7aac /usr/local
parent8ac0a4dea755e666ee6c7a58f281ceeee6a8b5db (diff)
downloadpfsense-b86c59909271e8069433e82bf8f6cf4b3ddc58fd.zip
pfsense-b86c59909271e8069433e82bf8f6cf4b3ddc58fd.tar.gz
Handle XMLRPC timeouts.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_firmware_check.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php
index a0c0ddd..a27dd44 100755
--- a/usr/local/www/system_firmware_check.php
+++ b/usr/local/www/system_firmware_check.php
@@ -43,6 +43,7 @@ require("xmlrpc.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php
include("fbegin.inc");
+$versions = check_firmware_version();
?>
<p class="pgtitle">System: Firmware Update</p>
<br>
@@ -54,6 +55,7 @@ include("fbegin.inc");
</td></tr>
<tr>
<td class="tabcont">
+<?php if(is_array($versions)) { ?>
<table align="center" width="60%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="10%" class="listhdrr">Act</td>
@@ -63,7 +65,6 @@ include("fbegin.inc");
</tr>
<?php
- $versions = check_firmware_version();
$currentvers = $versions['current'];
foreach($versions as $key => $version) {
if($key == "current") continue;
@@ -109,6 +110,9 @@ include("fbegin.inc");
</form></td></tr></table>
<?php } ?>
</tr>
+<?php } else {
+ print_info_box("Unable to receive version information.");
+} ?>
</td>
</tr>
</table>
OpenPOWER on IntegriCloud