From 918e54c7c2f6f70b4175b0c98379ebe2de7c8307 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 9 Feb 2006 02:06:23 +0000 Subject: Work with PPPoE as well --- usr/local/www/ifstats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- cgit v1.1