summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-29 13:45:56 +0000
committerSteven Barth <steven@midlink.org>2009-11-29 13:45:56 +0000
commit2aa4534db4c01851fa38293766f326cf4089c032 (patch)
treeb3727d1d6a3dc953c4a2b956a9e8d35200428418
parent87491bf031881a4f5b828aaf6826cf98bda1252e (diff)
Move mtu_fix to the right place (fixes #94)
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua1
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua1
2 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua
index f4c5630a3..eaaaf6cb9 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua
@@ -21,7 +21,6 @@ s.anonymous = true
iface = s:option(ListValue, "src", translate("Source"))
oface = s:option(ListValue, "dest", translate("Destination"))
-s:option(Flag, "mtu_fix", translate("MSS Clamping"))
luci.model.uci.cursor():foreach("firewall", "zone",
function (section)
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua
index eacb00f4f..3c31d957f 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua
@@ -65,6 +65,7 @@ for i, v in ipairs(p) do
end
s:option(Flag, "masq")
+s:option(Flag, "mtu_fix", translate("MSS Clamping"))
net = s:option(MultiValue, "network")
net.template = "cbi/network_netlist"