Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
6004b05d
Commit
6004b05d
authored
May 08, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dhcpd log file diag, this one isn't handled with syslog
parent
09489e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
diag_logs_dhcp.php
src/www/diag_logs_dhcp.php
+1
-1
No files found.
src/www/diag_logs_dhcp.php
View file @
6004b05d
...
@@ -68,7 +68,7 @@ include("head.inc");
...
@@ -68,7 +68,7 @@ include("head.inc");
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
<p>
<?php
printf
(
gettext
(
"Last %s DHCP service log entries"
),
$nentries
);
?>
</p>
<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"
>
<form
action=
"diag_logs_dhcp.php"
method=
"post"
>
<input
name=
"clear"
type=
"submit"
class=
"btn"
value=
"
<?=
gettext
(
"Clear log"
);
?>
"
/>
<input
name=
"clear"
type=
"submit"
class=
"btn"
value=
"
<?=
gettext
(
"Clear log"
);
?>
"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment