diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 22:12:23 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 22:12:23 +0100 |
commit | c60ffbfbfe8bfedb7b75f94f5f042a206fb7940f (patch) | |
tree | 1c076ebe34ae49ce4538bcf701cf95558bfd564b /src/connection.c | |
parent | 8c525f8122631321a7170ce9409baca706d1aea3 (diff) | |
download | connman-c60ffbfbfe8bfedb7b75f94f5f042a206fb7940f.tar.gz connman-c60ffbfbfe8bfedb7b75f94f5f042a206fb7940f.tar.bz2 connman-c60ffbfbfe8bfedb7b75f94f5f042a206fb7940f.zip |
Add property to indicate default connections
Diffstat (limited to 'src/connection.c')
-rw-r--r-- | src/connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c index 212242e1..79ae34de 100644 --- a/src/connection.c +++ b/src/connection.c @@ -223,6 +223,9 @@ static DBusMessage *get_properties(DBusConnection *conn, connman_dbus_dict_append_variant(&dict, "Interface", DBUS_TYPE_STRING, &element->devname); + connman_dbus_dict_append_variant(&dict, "Default", + DBUS_TYPE_BOOLEAN, &element->enabled); + dbus_message_iter_close_container(&array, &dict); return reply; |