mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fix network interface alias not used in alerts configuration
This commit is contained in:
parent
63660b59f4
commit
29e5b10e6f
2 changed files with 5 additions and 3 deletions
|
|
@ -1833,9 +1833,11 @@ elseif(page == "callbacks") then
|
|||
return
|
||||
end
|
||||
|
||||
local alias = getHumanReadableInterfaceName(if_name)
|
||||
|
||||
drawAlertSourceSettings("interface", ifname_clean,
|
||||
i18n("show_alerts.iface_delete_config_btn", {iface=if_name}), "show_alerts.iface_delete_config_confirm",
|
||||
"if_stats.lua", {ifid=ifid}, if_name, "interface")
|
||||
i18n("show_alerts.iface_delete_config_btn", {iface=alias}), "show_alerts.iface_delete_config_confirm",
|
||||
"if_stats.lua", {ifid=ifid}, alias, "interface")
|
||||
|
||||
elseif(page == "internals") then
|
||||
local hash_tables_stats = interface.getHashTablesStats()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue