From c2f99c27aa1f8b9f37720be53d7840a79ae7a59b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 16 Mar 2013 18:23:39 +0000 Subject: [PATCH] applications/luci-olsr: Add config options for jsoninfo plugin --- .../luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua | 10 ++++++++-- 1 file 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"] = { -- 2.30.2