Revision f78c5975
Added by Marcus Brown about 15 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
1264 | 1264 |
break; |
1265 | 1265 |
if (file_exists("/dev/{$dev}")) { |
1266 | 1266 |
if (file_exists("{$g['varrun_path']}/ppp_{$if}.pid")) { |
1267 |
$ifinfo['pppinfo'] = $ifinfo['ifdescr'];
|
|
1267 |
$ifinfo['pppinfo'] = "{$ifinfo['if']}";
|
|
1268 | 1268 |
$sec = trim(`/usr/local/sbin/ppp-uptime.sh {$ifinfo['if']}`); |
1269 | 1269 |
$ifinfo['ppp_uptime'] = convert_seconds_to_hms($sec); |
1270 | 1270 |
} |
Also available in: Unified diff
Revert "One more $if must change to $ifdescr"
This reverts commit a045b3270f13f39908beb875ede4e75f565e12e9.
Not correct.