Skip to content

Commit

Permalink
Exclude pseudo-interfaces from missing list
Browse files Browse the repository at this point in the history
  • Loading branch information
seud0nym committed Jan 31, 2021
1 parent 2fd5375 commit 0b05cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion additional/qos/www/docroot/modals/qos-device-modal.lp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local device_max = 0
local device_min = 0
for k,v in pairs(ifs) do
if not find(v, "Guest") then
if sub(k,1,2) ~= "wl" or proxy.get(format("uci.wireless.wifi-iface.@%s.backhaul",k))[1].value ~= "1" then
if sub(k,1,1) ~= "@" and (sub(k,1,2) ~= "wl" or proxy.get(format("uci.wireless.wifi-iface.@%s.backhaul",k))[1].value ~= "1") then
device_max = device_max + 1
options_if[#options_if+1] = {k, k}
if proxy.get(format("uci.qos.device.@%s.enable", k)) then
Expand Down

0 comments on commit 0b05cf4

Please sign in to comment.