Commit 6004b05d authored by Ad Schellevis's avatar Ad Schellevis

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

parent 09489e90
......@@ -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");?>" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment