mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
adb3a690e9
commit
8f84202a43
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ end
|
|||
-- @brief Clear all the existing endpoint configurations
|
||||
-- @return Always return a table {status = "OK"}
|
||||
function endpoints.reset_configs()
|
||||
local all_configs = endpoints.get_configs(true --[[ exclude builtin --]])
|
||||
local all_configs = endpoints.get_configs()
|
||||
|
||||
for _, endpoint_params in pairs(all_configs) do
|
||||
endpoints.delete_config(endpoint_params.endpoint_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue