{
struct connman_ipaddress *append_addr = NULL;
const char *str;
-
+#if defined TIZEN_EXT
DBG("");
+#endif
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV4)
return;
if (append_addr->gateway)
connman_dbus_dict_append_basic(iter, "Gateway",
DBUS_TYPE_STRING, &append_addr->gateway);
+
+#if defined TIZEN_EXT
+ if (ipconfig->method == CONNMAN_IPCONFIG_METHOD_DHCP) {
+ char *server_ip;
+ server_ip = __connman_dhcp_get_server_address(ipconfig);
+ if (server_ip) {
+ connman_dbus_dict_append_basic(iter, "DHCPServerIP",
+ DBUS_TYPE_STRING, &server_ip);
+ g_free(server_ip);
+ }
+ }
+#endif
}
void __connman_ipconfig_append_ipv6(struct connman_ipconfig *ipconfig,
{
struct connman_ipaddress *append_addr = NULL;
const char *str, *privacy;
-
+#if defined TIZEN_EXT
DBG("");
+#endif
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
return;
DBusMessageIter *iter)
{
const char *str, *privacy;
-
+#if defined TIZEN_EXT
DBG("");
+#endif
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
DBusMessageIter *iter)
{
const char *str;
-
+#if defined TIZEN_EXT
DBG("");
+#endif
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)