applications/luci-firewall: fix turning off nat reflection
This commit is contained in:
parent
753dbfff7a
commit
01cd04fc78
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue