summaryrefslogtreecommitdiff
path: root/gdhcp/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdhcp/client.c')
-rwxr-xr-xgdhcp/client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index 7e04176..ff4539b 100755
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -3029,7 +3029,11 @@ char *g_dhcp_client_get_server_address(GDHCPClient *dhcp_client)
if (!dhcp_client)
return NULL;
+#if defined TIZEN_EXT
+ return get_ip(htonl(dhcp_client->server_ip));
+#else
return get_ip(dhcp_client->server_ip);
+#endif
}
char *g_dhcp_client_get_address(GDHCPClient *dhcp_client)