summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-06 10:41:57 +0700
committergnhb <gnoahb@gmail.com>2010-06-06 10:41:57 +0700
commitf78c59756183894c1fc2c98774c1e8efea9e99b5 (patch)
tree24f86072398345b04332418ce7236f283e59b584 /etc/inc/pfsense-utils.inc
parenta045b3270f13f39908beb875ede4e75f565e12e9 (diff)
downloadpfsense-f78c59756183894c1fc2c98774c1e8efea9e99b5.zip
pfsense-f78c59756183894c1fc2c98774c1e8efea9e99b5.tar.gz
Revert "One more $if must change to $ifdescr"
This reverts commit a045b3270f13f39908beb875ede4e75f565e12e9. Not correct.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 98819a7..466101b 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1264,7 +1264,7 @@ function get_interface_info($ifdescr) {
break;
if (file_exists("/dev/{$dev}")) {
if (file_exists("{$g['varrun_path']}/ppp_{$if}.pid")) {
- $ifinfo['pppinfo'] = $ifinfo['ifdescr'];
+ $ifinfo['pppinfo'] = "{$ifinfo['if']}";
$sec = trim(`/usr/local/sbin/ppp-uptime.sh {$ifinfo['if']}`);
$ifinfo['ppp_uptime'] = convert_seconds_to_hms($sec);
}
OpenPOWER on IntegriCloud