summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-freifunk-policyrouting
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-freifunk-policyrouting')
-rw-r--r--applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua b/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua
index b3cac9a10..4361eb782 100644
--- a/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua
+++ b/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua
@@ -28,6 +28,10 @@ local strict = c:option(Flag, "strict", translate("Strict Filtering"), translate
"select this option."))
strict.rmempty = false
+local fallback = c:option(Flag, "fallback", translate("Fallback to mesh"),
+ translate("If your own gateway is not available then fallback to the mesh default gateway."))
+strict.rmempty = false
+
local zones = c:option(MultiValue, "zones", translate("Firewall zones"), translate("All traffic from interfaces belonging to these zones will be sent via "..
"a gateway in the mesh network."))
uci:foreach("firewall", "zone", function(section)