Add support for multiple LAN/WAN interfaces in nEdge backend (C++)

This commit is contained in:
Alfredo Cardigliano 2022-09-07 09:19:16 +02:00
parent 7b8de5bcad
commit ad4e9facb7
9 changed files with 47 additions and 26 deletions

View file

@ -66,13 +66,13 @@ end
-- Execute a system command
function sys_utils.execCmd(cmd)
if(REAL_EXEC) then
if(REAL_EXEC) then
-- traceError(TRACE_NORMAL, TRACE_CONSOLE, "[>] ".. cmd)
return(os.execute(cmd))
else
else
traceError(TRACE_NORMAL, TRACE_CONSOLE, "[execCmd] ".. cmd)
return 0
end
end
end
-- ################################################################