summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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