summaryrefslogtreecommitdiffstats
path: root/usr/local/www/ifstats.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-26 23:05:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-26 23:05:03 +0000
commit0543e1e9b260de5ab2625bfe53609e8ec6774fb4 (patch)
tree6a4bbfdbf4e00889c6902889723e6b3cf2375633 /usr/local/www/ifstats.php
parenta651b0f6c33b17bbfb7de3fd5cfc4882c88c03ba (diff)
downloadpfsense-0543e1e9b260de5ab2625bfe53609e8ec6774fb4.zip
pfsense-0543e1e9b260de5ab2625bfe53609e8ec6774fb4.tar.gz
Revert old code
Diffstat (limited to 'usr/local/www/ifstats.php')
-rw-r--r--usr/local/www/ifstats.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/ifstats.php b/usr/local/www/ifstats.php
index 8785ef1..96e7acd 100644
--- a/usr/local/www/ifstats.php
+++ b/usr/local/www/ifstats.php
@@ -39,10 +39,8 @@
$ifinfo['hwif'] = $config['interfaces'][$if]['if'];
if(!$ifinfo['hwif'])
$ifinfo['hwif'] = $if;
- if ($if == "wan" || $if == "ng0")
- $ifinfo['if'] = get_real_wan_interface();
- else
- $ifinfo['if'] = $ifinfo['hwif'];
+
+ $ifinfo['if'] = $ifinfo['hwif'];
/* run netstat to determine link info */
$linkinfo = "";
OpenPOWER on IntegriCloud