summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/ifstats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/ifstats.php b/usr/local/www/ifstats.php
index 76fefa5..8785ef1 100644
--- a/usr/local/www/ifstats.php
+++ b/usr/local/www/ifstats.php
@@ -39,7 +39,7 @@
$ifinfo['hwif'] = $config['interfaces'][$if]['if'];
if(!$ifinfo['hwif'])
$ifinfo['hwif'] = $if;
- if ($if == "wan")
+ if ($if == "wan" || $if == "ng0")
$ifinfo['if'] = get_real_wan_interface();
else
$ifinfo['if'] = $ifinfo['hwif'];
OpenPOWER on IntegriCloud