Diff between f693123a76102e5b3958ad7bac9a0114f24e7b52 and eaaa1f7d261941ecda4e119890021f9a84b2e27b

Changed Files

File Additions Deletions Status
client/main.c +2 -1 modified

Full Patch

diff --git a/client/main.c b/client/main.c
index 4e86013..529e7f3 100644
--- a/client/main.c
+++ b/client/main.c
@@ -90,7 +90,7 @@ static void print_adapter(GDBusProxy *proxy, const char *description)
 
 	dbus_message_iter_get_basic(&iter, &address);
 
-	if (g_dbus_proxy_get_property(proxy, "Name", &iter) == TRUE)
+	if (g_dbus_proxy_get_property(proxy, "Alias", &iter) == TRUE)
 		dbus_message_iter_get_basic(&iter, &name);
 	else
 		name = "<unknown>";
@@ -440,6 +440,7 @@ static void cmd_show(const char *arg)
 	rl_printf("Controller %s\n", address);
 
 	print_property(proxy, "Name");
+	print_property(proxy, "Alias");
 	print_property(proxy, "Class");
 	print_property(proxy, "Powered");
 	print_property(proxy, "Discoverable");