ipconfig->ops->ip_bound(ipconfig, ifname);
}
+#if defined TIZEN_EXT
+ const char *local;
+ struct connman_service *service;
+ struct connman_ipconfig *local_ipconfig;
+
+ service = connman_service_get_default();
+ if (!service)
+ goto out;
+
+ local_ipconfig = __connman_service_get_ip4config(service);
+ if (!local_ipconfig)
+ goto out;
+
+ local = __connman_ipconfig_get_local(local_ipconfig);
+ if (!local)
+ goto out;
+
+ DBG("local %s", local);
+
+ if (g_strcmp0(local, address) != 0)
+ goto out;
+
+ __connman_connection_update_default_gateway();
+#endif
out:
g_free(ifname);
return 0;