From: Steven Barth Date: Sun, 29 Nov 2009 13:45:56 +0000 (+0000) Subject: Move mtu_fix to the right place (fixes #94) X-Git-Tag: 0.10.0~909 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2aa4534db4c01851fa38293766f326cf4089c032;p=oweals%2Fluci.git Move mtu_fix to the right place (fixes #94) --- 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"