Check for valid default route when updating profile details
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 28 Jun 2009 07:14:54 +0000 (09:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 28 Jun 2009 07:14:54 +0000 (09:14 +0200)
src/profile.c

index 8984872..683e46a 100644 (file)
@@ -71,6 +71,8 @@ void __connman_profile_changed(void)
        DBusMessage *signal;
        DBusMessageIter entry;
 
+       __connman_connection_update_gateway();
+
        signal = dbus_message_new_signal(path,
                                CONNMAN_PROFILE_INTERFACE, "PropertyChanged");
        if (signal == NULL)