From 2aa4534db4c01851fa38293766f326cf4089c032 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 29 Nov 2009 13:45:56 +0000 Subject: [PATCH] Move mtu_fix to the right place (fixes #94) --- applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua | 1 - applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1