Add missing interface select

This commit is contained in:
Alfredo Cardigliano 2020-05-20 13:04:00 +02:00
parent c41309f21e
commit e45ae9bf7a
4 changed files with 11 additions and 9 deletions

View file

@ -34,14 +34,14 @@ if isEmptyString(ifid) then
return
end
interface.select(ifid)
if isEmptyString(what) then
rc = rest_utils.consts_invalid_args
print(rest_utils.rc(rc))
return
end
-- interface.select(ifid)
local engaged = false
if what == "engaged" then
engaged = true