diff --git a/luci-app-omr-quota/luasrc/model/cbi/quota/quota.lua b/luci-app-omr-quota/luasrc/model/cbi/quota/quota.lua index a608f575d..dc542eaee 100644 --- a/luci-app-omr-quota/luasrc/model/cbi/quota/quota.lua +++ b/luci-app-omr-quota/luasrc/model/cbi/quota/quota.lua @@ -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 diff --git a/luci-app-omr-tracker/luasrc/model/cbi/omr-tracker.lua b/luci-app-omr-tracker/luasrc/model/cbi/omr-tracker.lua index dd9019c2e..8f654f819 100644 --- a/luci-app-omr-tracker/luasrc/model/cbi/omr-tracker.lua +++ b/luci-app-omr-tracker/luasrc/model/cbi/omr-tracker.lua @@ -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