Revision e0dbc5d2
Added by Luiz Souza 5 months ago
src/etc/inc/pfsense-utils.inc | ||
---|---|---|
1784 | 1784 |
} else { |
1785 | 1785 |
$ppp_if_file = "{$g['varrun_path']}/{$link_type}_{$ifdescr}.pid"; |
1786 | 1786 |
} |
1787 |
if (file_exists($ppp_if_file) { |
|
1787 |
if (file_exists($ppp_if_file)) {
|
|
1788 | 1788 |
$sec = trim(`/usr/local/sbin/ppp-uptime.sh {$ifinfo['if']}`); |
1789 | 1789 |
$ifinfo['ppp_uptime'] = convert_seconds_to_dhms($sec); |
1790 | 1790 |
} |
Also available in: Unified diff
Fix the last commit.
Pointy hat to: loos
(cherry picked from commit 55b33420d65aa7d47d4469a96f315fb271021967)