Implements data cleanup for inactive interfaces

Implements #1971
This commit is contained in:
Simone Mainardi 2018-09-07 15:55:14 +02:00
parent 7c49514ba0
commit bd27304c54
6 changed files with 266 additions and 23 deletions

View file

@ -11,7 +11,7 @@ sendHTTPContentTypeHeader('text/html')
local proto_filter = _GET["l7proto"]
local ifId = interface.name2id(ifname)
local ifId = getInterfaceId(ifname)
if not haveAdminPrivileges() then
return