mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Fix default
This commit is contained in:
parent
82e83780eb
commit
e07b40b10b
2 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ s = m:section(TypedSection, "interface", translate("Interfaces"))
|
|||
s.template_addremove = "omr-quota/cbi-select-add"
|
||||
s.addremove = true
|
||||
s.add_select_options = { }
|
||||
s.add_select_options[''] = ''
|
||||
for _, iface in ipairs(ifaces) do
|
||||
if not (iface == "lo" or iface:match("^ifb.*")) then
|
||||
s.add_select_options[iface] = iface
|
||||
|
|
|
@ -40,6 +40,7 @@ s = m:section(TypedSection, "interface", translate("Interfaces"))
|
|||
s.template_addremove = "omr-tracker/cbi-select-add"
|
||||
s.addremove = true
|
||||
s.add_select_options = { }
|
||||
s.add_select_options[''] = ''
|
||||
for _, iface in ipairs(ifaces) do
|
||||
if not (iface == "lo" or iface:match("^ifb.*")) then
|
||||
s.add_select_options[iface] = iface
|
||||
|
|
Loading…
Reference in a new issue