From: Manuel Munz Date: Sat, 16 Mar 2013 18:23:39 +0000 (+0000) Subject: applications/luci-olsr: Add config options for jsoninfo plugin X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=c2f99c27aa1f8b9f37720be53d7840a79ae7a59b applications/luci-olsr: Add config options for jsoninfo plugin --- diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua index 2cfccdd36..bd72c56ad 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua @@ -93,7 +93,6 @@ if arg[1] then ["olsrd_httpinfo.so.0.1"] = { { Value, "port", "80" }, { DynamicList, "Host", "163.24.87.3" }, --- { DynamicList, "Net", "0.0.0.0/0", IpMask2Cidr, Cidr2IpMask } { DynamicList, "Net", "0.0.0.0/0", Cidr2IpMask } }, @@ -136,7 +135,14 @@ if arg[1] then }, ["olsrd_txtinfo.so.0.1"] = { - { Value, "accept", "10.247.200.4" } + { Value, "accept", "127.0.0.1" } + }, + + ["olsrd_jsoninfo.so.0.0"] = { + { Value, "accept", "127.0.0.1" }, + { Value, "port", "9090" }, + { Value, "UUIDFile", "/etc/olsrd/olsrd.uuid" }, + }, ["olsrd_watchdog.so.0.1"] = {