diff --git a/src/manage.c b/src/manage.c index 16b9ea182..d6e3a789a 100644 --- a/src/manage.c +++ b/src/manage.c @@ -1842,7 +1842,7 @@ send_ifaces_access_preferences (void) ifaces = user_ifaces (current_credentials.uuid); ifaces_allow = user_ifaces_allow (current_credentials.uuid); - if (ifaces && strlen (ifaces)) + if (ifaces_allow || (ifaces && strlen (ifaces))) { char *pref; @@ -1856,7 +1856,7 @@ send_ifaces_access_preferences (void) return 0; } - if (sendf_to_server ("%s <|> %s\n", pref, ifaces)) + if (sendf_to_server ("%s <|> %s\n", pref, ifaces ? ifaces : "")) { g_free (ifaces); return -1;