mirror of https://github.com/OpenVPN/openvpn-gui
PLAP: Do not show profiles with no management address
Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/530/head
parent
d6775b9b71
commit
67a8db7664
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue