applications/luci-olsr: Add config options for jsoninfo plugin
authorManuel Munz <freifunk@somakoma.de>
Sat, 16 Mar 2013 18:23:39 +0000 (18:23 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sat, 16 Mar 2013 18:23:39 +0000 (18:23 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua

index 2cfccdd3606935874455f6a1dbd55103d313df7a..bd72c56adf3d9913e07f5e42192dc62edfdc4398 100644 (file)
@@ -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"] = {