mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixed #4730 Reset list of learnt MAC addresses
This commit is contained in:
parent
96ea95b1ac
commit
a8cd70e0e5
3 changed files with 54 additions and 5 deletions
12
scripts/lua/rest/v1/delete/host/new_devices.lua
Normal file
12
scripts/lua/rest/v1/delete/host/new_devices.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--
|
||||
-- (C) 2013-20 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
|
||||
|
||||
local new_devices = require "new_devices"
|
||||
|
||||
new_devices.reset_macs()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue