From a045b3270f13f39908beb875ede4e75f565e12e9 Mon Sep 17 00:00:00 2001 From: gnhb Date: Sun, 6 Jun 2010 10:40:41 +0700 Subject: [PATCH] One more $if must change to $ifdescr --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 466101be66..98819a7984 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['if']}"; + $ifinfo['pppinfo'] = $ifinfo['ifdescr']; $sec = trim(`/usr/local/sbin/ppp-uptime.sh {$ifinfo['if']}`); $ifinfo['ppp_uptime'] = convert_seconds_to_hms($sec); }