Skip to content

Commit

Permalink
Add link to Pi-hole docs when showing dnsmasq warnings
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Dec 23, 2021
1 parent 76a6344 commit 5eb2e23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/pi-hole/js/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ function renderMessage(data, type, row) {
);

case "DNSMASQ_WARN":
return "Warning in <code>dnsmasq</code> core:<pre>" + row.message + "</pre>";
return (
"Warning in <code>dnsmasq</code> core:<pre>" +
row.message +
'</pre> Check out <a href="https://docs.pi-hole.net/ftldns/dnsmasq_warn/" target="_blank">our documentation</a> for further information.'
);

case "LOAD":
return (
Expand Down

0 comments on commit 5eb2e23

Please sign in to comment.