From 5f65547dfd59ae3fe9e45f0ac4bc4a06808b4847 Mon Sep 17 00:00:00 2001 From: Philipp Borgers Date: Thu, 25 Oct 2018 21:54:42 +0200 Subject: get rid of library version numbers in luci olsrd code Signed-off-by: Philipp Borgers --- applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-siitwizard/luasrc/model') diff --git a/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua index 413b3b481f..f3501e5d72 100644 --- a/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua +++ b/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua @@ -342,9 +342,9 @@ function mode.write(self, section, value) -- txtinfo v6 & olsrd nameservice uci:foreach("olsrd", "LoadPlugin", function(s) - if s.library == "olsrd_txtinfo.so.0.1" then + if s.library == "olsrd_txtinfo" then uci:set("olsrd", s['.name'], "accept", "::1") - elseif s.library == "olsrd_nameservice.so.0.3" then + elseif s.library == "olsrd_nameservice" then uci:set("olsrd", s['.name'], "name", hostname) end end) -- cgit v1.2.3