From 5cf7c515903310f877776e4b587c05e9c4207521 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 30 Jul 2011 20:03:38 +0000 Subject: [PATCH] luci-0.10: merge r7338 --- applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua | 1 + 1 file changed, 1 insertion(+) 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" -- 2.25.1