mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
fix dhcpd log file diag, this one isn't handled with syslog
This commit is contained in:
parent
09489e9000
commit
6004b05d58
@ -68,7 +68,7 @@ include("head.inc");
|
||||
<div class="container-fluid">
|
||||
|
||||
<p> <?php printf(gettext("Last %s DHCP service log entries"), $nentries);?></p>
|
||||
<pre> <?php dump_clog($dhcpd_logfile, $nentries); ?></pre>
|
||||
<pre> <?php echo trim(implode("", array_slice(file($dhcpd_logfile), -$nentries)));?></pre>
|
||||
|
||||
<form action="diag_logs_dhcp.php" method="post">
|
||||
<input name="clear" type="submit" class="btn" value="<?= gettext("Clear log");?>" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user