summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-06-20 11:00:19 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-06-20 11:00:19 +0000
commitdde9a4fc50a624e5329256afd92f3df851be6509 (patch)
tree7f9e49363cf5dd033a6831841d4516952dece628 /usr/local/www/status_interfaces.php
parent57accecf6ed1a36ff61479a34f994fb43616fe9e (diff)
downloadpfsense-dde9a4fc50a624e5329256afd92f3df851be6509.zip
pfsense-dde9a4fc50a624e5329256afd92f3df851be6509.tar.gz
Display proper gateway on status page.
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 97aa425..bfea26f 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -152,7 +152,9 @@ include("head.inc");
<tr>
<td width="22%" class="vncellt">Gateway</td>
<td width="78%" class="listr">
- <?=htmlspecialchars($ifinfo['gateway']);?>
+ <?=htmlspecialchars($config['interfaces'][$ifdescr]['gateway']);?>
+ <?=htmlspecialchars($ifinfo['gateway']);?>
+ <?php /* FIXME: possibly show gateway status and if it is the default route */ ?>
</td>
</tr><?php endif; if ($ifdescr == "wan" && file_exists("{$g['varetc_path']}/resolv.conf")): ?>
<td width="22%" class="vncellt">ISP DNS servers</td>
OpenPOWER on IntegriCloud