summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_services.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-06-21 17:38:13 +0000
committerErmal Luçi <eri@pfsense.org>2008-06-21 17:38:13 +0000
commit3e321df2be59d2bb4c2ffd51e410fe120517e316 (patch)
tree138e5336181e4a7e6d270301ea6208ad91e733bc /usr/local/www/status_services.php
parentfbb45bb034aad683b2bd207a497d0cfc0b1b5a1e (diff)
downloadpfsense-3e321df2be59d2bb4c2ffd51e410fe120517e316.zip
pfsense-3e321df2be59d2bb4c2ffd51e410fe120517e316.tar.gz
Continue interface improvements
Diffstat (limited to 'usr/local/www/status_services.php')
-rwxr-xr-xusr/local/www/status_services.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index 8616c19..8a184f3 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -223,11 +223,12 @@ if(isset($config['captiveportal']['enable'])) {
unset($pconfig);
}
-$iflist = array("lan" => "LAN");
-for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
- $oc = $config['interfaces']['opt' . $i];
- if (isset($oc['enable']) && $oc['if'] && (!$oc['bridge']))
- $iflist['opt' . $i] = "opt{$i}";
+$iflist = array();
+$ifdescrs = get_configured_interface_list();
+foreach ($ifdescrs as $if) {
+ $oc = $config['interfaces'][$if];
+ if ($oc['if'] && (!$oc['bridge']))
+ $iflist[$if] = $if;
}
$show_dhcprelay = false;
foreach($iflist as $if) {
OpenPOWER on IntegriCloud