From: Daniel Wagner <daniel.wag...@bmw-carit.de> An empty AllowedBearers means do not match anything. --- unit/session-api.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/unit/session-api.c b/unit/session-api.c index c5df010..980366f 100644 --- a/unit/session-api.c +++ b/unit/session-api.c @@ -252,6 +252,9 @@ static void append_allowed_bearers(DBusMessageIter *iter, void *user_data) void session_append_settings(DBusMessageIter *dict, struct test_session_info *info) { + if (info->allowed_bearers == NULL) + return; + connman_dbus_dict_append_array(dict, "AllowedBearers", DBUS_TYPE_STRING, append_allowed_bearers, -- 1.7.12.315.g682ce8b _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman