diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-06-20 11:00:19 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-06-20 11:00:19 +0000 |
commit | dde9a4fc50a624e5329256afd92f3df851be6509 (patch) | |
tree | 7f9e49363cf5dd033a6831841d4516952dece628 /usr/local | |
parent | 57accecf6ed1a36ff61479a34f994fb43616fe9e (diff) | |
download | pfsense-dde9a4fc50a624e5329256afd92f3df851be6509.zip pfsense-dde9a4fc50a624e5329256afd92f3df851be6509.tar.gz |
Display proper gateway on status page.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 4 |
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> |