diff options
-rwxr-xr-x | usr/local/www/diag_logs_vpn.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_logs_vpn.php b/usr/local/www/diag_logs_vpn.php index e4a3f1a..a35c068 100755 --- a/usr/local/www/diag_logs_vpn.php +++ b/usr/local/www/diag_logs_vpn.php @@ -44,7 +44,7 @@ if ($_POST['clear']) { exec("/usr/sbin/clog -i -s 262144 {$pptp_logfile}"); } -function dump_clog($logfile, $tail) { +function dump_clog_vpn($logfile, $tail) { global $g, $config; $sor = isset($config['syslog']['reverse']) ? "-r" : ""; @@ -105,7 +105,7 @@ function dump_clog($logfile, $tail) { <td class="listhdrr">User</td> <td class="listhdrr">IP address</td> </tr> - <?php dump_clog($pptp_logfile, $nentries); ?> + <?php dump_clog_vpn($pptp_logfile, $nentries); ?> </table> <br><form action="diag_logs_vpn.php" method="post"> <input name="clear" type="submit" class="formbtn" value="Clear log"> |