luci-0.10: merge r7338

This commit is contained in:
Jo-Philipp Wich 2011-07-30 20:03:38 +00:00
parent 6c92060639
commit 5cf7c51590

View file

@ -136,6 +136,7 @@ sport:depends("proto", "tcpudp")
reflection = s:taboption("advanced", Flag, "reflection", translate("Enable NAT Loopback"))
reflection.rmempty = true
reflection.default = reflection.enabled
reflection:depends({ target = "DNAT", src = wan_zone })
reflection.cfgvalue = function(...)
return Flag.cfgvalue(...) or "1"