diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-06-21 17:38:13 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-06-21 17:38:13 +0000 |
commit | 3e321df2be59d2bb4c2ffd51e410fe120517e316 (patch) | |
tree | 138e5336181e4a7e6d270301ea6208ad91e733bc /usr/local/www/status_interfaces.php | |
parent | fbb45bb034aad683b2bd207a497d0cfc0b1b5a1e (diff) | |
download | pfsense-3e321df2be59d2bb4c2ffd51e410fe120517e316.zip pfsense-3e321df2be59d2bb4c2ffd51e410fe120517e316.tar.gz |
Continue interface improvements
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index bfea26f..c813347 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -67,10 +67,7 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <?php $i = 0; $ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN'); - for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { - $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; - } + <?php $ifdescrs = get_configured_interface_with_descr(false, true); foreach ($ifdescrs as $ifdescr => $ifname): $ifinfo = get_interface_info($ifdescr); ?> |