contrib/package, applications/luci-olsr: implement NatThreshold to minimize gateway flapping

This commit is contained in:
Jo-Philipp Wich 2009-11-21 00:22:35 +00:00
parent f61586c62b
commit 1ee7f5ed79
2 changed files with 3 additions and 0 deletions

View file

@ -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"))

View file

@ -2,6 +2,7 @@ config 'olsrd'
option 'IpVersion' '4'
option 'FIBMetric' 'flat'
option 'LinkQualityAlgorithm' 'etx_ff'
option 'NatThreshold' '0.75'
config 'Interface'
option 'ignore' '1'