mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added check when recipient do not have a correspondign endpoint defined. Not a fix but a workaround
until https://github.com/ntop/ntopng/issues/4389 is fixed
This commit is contained in:
parent
6924651ec5
commit
4253d44996
1 changed files with 4 additions and 2 deletions
|
|
@ -25,8 +25,10 @@ local recipients = recipients_instance:get_all_recipients()
|
|||
-- Builtin recipients will be possibly included later and made uneditable from the UI
|
||||
local res = {}
|
||||
for _, recipient in pairs(recipients) do
|
||||
if not recipient.endpoint_conf.builtin then
|
||||
res[#res + 1] = recipient
|
||||
if recipient.endpoint_conf then
|
||||
if not recipient.endpoint_conf.builtin then
|
||||
res[#res + 1] = recipient
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue