summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-21 00:22:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-21 00:22:35 +0000
commit1ee7f5ed7944704a20e0d7472f33fa57750edf87 (patch)
treeecf6e6e582b151e653992e8943e1ef5b60edb6ff /applications/luci-olsr
parentf61586c62ba0cb652293d24f88f152753d256503 (diff)
contrib/package, applications/luci-olsr: implement NatThreshold to minimize gateway flapping
Diffstat (limited to 'applications/luci-olsr')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index d5b771096..5fcc748c8 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -90,6 +90,8 @@ for i=0,7 do
end
willingness.optional = true
+natthr = s:option(Value, "NatThreshold")
+natthr.optional = true
i = m:section(TypedSection, "Interface", translate("Interfaces"))