PLAP: Do not show profiles with no management address

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/530/head
Selva Nair 2022-10-16 12:23:03 -04:00
parent d6775b9b71
commit 67a8db7664
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ FindPLAPConnections(connection_t *conn[], size_t max_count)
for (int i = 0; i < o.num_configs && count < max_count; i++)
{
connection_t *c = &o.conn[i];
if (!(c->flags & FLAG_DAEMON_PERSISTENT))
if (!(c->flags & FLAG_DAEMON_PERSISTENT)
|| !ParseManagementAddress(c))
{
continue;
}