diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 2 | ||||
-rwxr-xr-x | usr/local/www/diag_logs_vpn.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 4ab0a9c..778dde1 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -73,7 +73,7 @@ include("head.inc"); <td colspan="2" class="listtopic"> Last <?=$nentries;?> IPSEC log entries</td> </tr> - <?php dump_clog($ipsec_logfile, $nentries, true, array("racoon"), array(false)); ?> + <tr><td><?php dump_clog_vpn($ipsec_logfile, $nentries); ?> <tr><td><br><form action="diag_logs.php" method="post"> <input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> </table> diff --git a/usr/local/www/diag_logs_vpn.php b/usr/local/www/diag_logs_vpn.php index 630f540..cc9c18a 100755 --- a/usr/local/www/diag_logs_vpn.php +++ b/usr/local/www/diag_logs_vpn.php @@ -34,14 +34,14 @@ require("guiconfig.inc"); -$pptp_logfile = "{$g['varlog_path']}/vpn.log"; +$pptp_logfile = "{$g['varlog_path']}/ipsec.log"; $nentries = $config['syslog']['nentries']; if (!$nentries) $nentries = 50; if ($_POST['clear']) { - exec("/usr/sbin/clog -i -s 262144 {$pptp_logfile}"); + exec("/usr/sbin/clog -i -s 262144 {$ipsec_logfile}"); } function dump_clog_vpn($logfile, $tail) { |