diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-11-08 09:52:54 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-11-14 09:22:20 +0100 |
commit | 8938f53f1b8d5bebaeea0ca8c3f621f65f0d4056 (patch) | |
tree | 86e53202504db93a703f720220d59f53dd285e40 /applications/luci-app-mwan3 | |
parent | 6ec540c46d19c83e65df990db6000a86e245d463 (diff) |
luci-app-mwan3: remove deprecated local_source option
Remove deprecated local_source option which is not supported/needed anymore.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua index 33faa1523..f54b6e76c 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua @@ -3,25 +3,12 @@ local net = require "luci.model.network".init() -local s, m, local_source, mask, rtmon, rtlookup +local s, m, mask, rtmon, rtlookup m = Map("mwan3", translate("MWAN - Globals")) s = m:section(NamedSection, "globals", "globals", nil) -local_source = s:option(ListValue, "local_source", - translate("Local source interface"), - translate("Use the IP address of this interface as source IP " .. - "address for traffic initiated by the router itself")) -local_source:value("none") -local_source.default = "none" -for _, net in ipairs(net:get_networks()) do - if net:name() ~= "loopback" then - local_source:value(net:name()) - end -end -local_source.rmempty = false - mask = s:option( Value, "mmx_mask", |