fix dhcpd log file diag, this one isn't handled with syslog

This commit is contained in:
Ad Schellevis 2015-05-08 09:39:28 +00:00
parent 09489e9000
commit 6004b05d58

View File

@ -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");?>" />