Fix many missing requires.

This commit is contained in:
Nicolo Maio 2024-02-20 10:14:40 +01:00
parent e243f7c826
commit 83634d06e1
6 changed files with 9 additions and 4 deletions

View file

@ -1662,6 +1662,7 @@ if ((ifname == nil) and (_GET ~= nil)) then
if (ifname ~= nil) then
if (ifname .. "" == tostring(tonumber(ifname)) .. "") then
require "label_utils"
-- ifname does not contain the interface name but rather the interface id
ifname = getInterfaceName(ifname, true)
if (ifname == "") then