Merge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu

luci-app-olsr-services: Don't use the nameservice with a specific ver…
This commit is contained in:
Jo-Philipp Wich 2018-10-23 13:20:45 +02:00 committed by GitHub
commit 290610798a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ function index()
local uci = require "luci.model.uci".cursor()
uci:foreach("olsrd", "LoadPlugin", function(s)
if s.library == "olsrd_nameservice.so.0.3" then
if s.library == "olsrd_nameservice" then
has_serv = true
end
end)