1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-14 20:31:54 +00:00
openmptcprouter/patches/luci-unbound-logread.patch
Ycarus (Yannick Chabanois) ce7ffa50c1 Add patch to fix unbound log
2024-12-12 08:44:41 +01:00

11 lines
524 B
Diff

--- a/luci/applications/luci-app-unbound/luasrc/controller/unbound.lua 2024-12-05 17:50:53.928401368 +0100
+++ b/luci/applications/luci-app-unbound/luasrc/controller/unbound.lua 2024-12-05 17:51:23.255945317 +0100
@@ -110,7 +110,7 @@
function QuerySysLog()
- local lcldata = luci.util.exec("logread -e 'unbound'")
+ local lcldata = luci.util.exec("logread -e 'unbound' || logread | grep 'unbound:'")
local lcldesc = luci.i18n.translate(
"This shows syslog filtered for events involving Unbound.")