summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_vpn.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-16 16:33:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-16 16:33:06 +0000
commit929d48cbf2f53575b8d7917140359dd04306b495 (patch)
tree58b7e48da6edf7f27cbf6261064841b9039e31a6 /usr/local/www/diag_logs_vpn.php
parent62ce3b9a8b36405f53e94205da982311e3eb55a5 (diff)
downloadpfsense-929d48cbf2f53575b8d7917140359dd04306b495.zip
pfsense-929d48cbf2f53575b8d7917140359dd04306b495.tar.gz
Restart syslgod after clogging
Ticket #362
Diffstat (limited to 'usr/local/www/diag_logs_vpn.php')
-rwxr-xr-xusr/local/www/diag_logs_vpn.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_vpn.php b/usr/local/www/diag_logs_vpn.php
index 4abbd47..a754b3c 100755
--- a/usr/local/www/diag_logs_vpn.php
+++ b/usr/local/www/diag_logs_vpn.php
@@ -41,7 +41,9 @@ if (!$nentries)
$nentries = 50;
if ($_POST['clear']) {
+ exec("killall syslogd");
exec("/usr/sbin/clog -i -s 262144 /var/log/vpn.log");
+ system_syslogd_start();
}
$pgtitle = "Diagnostics: System logs: PPTP VPN";
OpenPOWER on IntegriCloud