diff options
author | Colin Smith <colin@pfsense.org> | 2005-09-25 21:11:35 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-09-25 21:11:35 +0000 |
commit | b6ade6fe4f77ecc227c5d110ea7e7c09139b199c (patch) | |
tree | dd3b317425c8091ad6c494f4cd2f8a44a66dc7f0 /usr/local | |
parent | 5fac72a75d83601fc35d6e1819c5ee9a5dad17dd (diff) | |
download | pfsense-b6ade6fe4f77ecc227c5d110ea7e7c09139b199c.zip pfsense-b6ade6fe4f77ecc227c5d110ea7e7c09139b199c.tar.gz |
Minor cleanup, no functional changes.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index da8e613..1a05b65 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -46,13 +46,9 @@ if ($_POST['clear']) { } /* format filter logs */ -function conv_clog($logfile, $tail) { +function conv_clog($logfile, $tail = 50) { global $config; - $nentries = $config['syslog']['nentries']; - if (!$nentries) - $nentries = 50; - /* make interface/port table */ $iftable = array(); $iftable[$config['interfaces']['lan']['if']] = "LAN"; |