From 67a8db7664648e60108edead231c7b813b46034c Mon Sep 17 00:00:00 2001 From: Selva Nair Date: Sun, 16 Oct 2022 12:23:03 -0400 Subject: [PATCH] PLAP: Do not show profiles with no management address Signed-off-by: Selva Nair --- plap/ui_glue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plap/ui_glue.c b/plap/ui_glue.c index 244875b..9d9c777 100644 --- a/plap/ui_glue.c +++ b/plap/ui_glue.c @@ -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; }