applications/luci-olsr: Add options for olsrd-mod-p2p and change NonOlsrIf to lan...
authorManuel Munz <freifunk@somakoma.de>
Sat, 27 Nov 2010 17:16:09 +0000 (17:16 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sat, 27 Nov 2010 17:16:09 +0000 (17:16 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua

index dbd6ff9..044032c 100644 (file)
@@ -139,7 +139,12 @@ if arg[1] then
                },
 
                ["olsrd_mdns.so.1.0.0"] = {
                },
 
                ["olsrd_mdns.so.1.0.0"] = {
-                       { DynamicList,  "NonOlsrIf",                    "br-lan" }
+                       { DynamicList,  "NonOlsrIf",                    "lan" }
+               },
+
+               ["olsrd_p2pd.so.0.1.0"] = {
+                       { DynamicList,  "NonOlsrIf",                    "lan" },
+                       { Value,        "P2pdTtl",                      "10" }
                },
 
                ["olsrd_arprefresh.so.0.1"]             = {},
                },
 
                ["olsrd_arprefresh.so.0.1"]             = {},