summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/model/cbi
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-03-16 18:23:39 +0000
committerManuel Munz <freifunk@somakoma.de>2013-03-16 18:23:39 +0000
commitc2f99c27aa1f8b9f37720be53d7840a79ae7a59b (patch)
treee2b155ea1242e8746bdf868349234f54920f3918 /applications/luci-olsr/luasrc/model/cbi
parent97f0cf2996be5ce5ad58e22c35ea81336727db08 (diff)
applications/luci-olsr: Add config options for jsoninfo plugin
Diffstat (limited to 'applications/luci-olsr/luasrc/model/cbi')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
index 2cfccdd360..bd72c56adf 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"] = {