From: Jo-Philipp Wich Date: Sat, 30 Jul 2011 20:03:38 +0000 (+0000) Subject: luci-0.10: merge r7338 X-Git-Tag: 0.10.0~89 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5cf7c515903310f877776e4b587c05e9c4207521;p=oweals%2Fluci.git luci-0.10: merge r7338 --- diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua index ddecad33e..675cdbb35 100644 --- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua +++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua @@ -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"