summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-02-22 10:59:28 (GMT)
committertaesub kim <taesub.kim@samsung.com>2017-02-24 07:05:34 (GMT)
commit22d9b6aab2ea06c1e4fc3ae0ff58e78976dc818c (patch)
treebfcf38f921f5134137a477e59f78c2b3dbe7751a
parent80b0b7544b4e77b68a4d724e6a3f45e7dd2c8f3f (diff)
downloadconnman-22d9b6aab2ea06c1e4fc3ae0ff58e78976dc818c.zip
connman-22d9b6aab2ea06c1e4fc3ae0ff58e78976dc818c.tar.gz
connman-22d9b6aab2ea06c1e4fc3ae0ff58e78976dc818c.tar.bz2
Change-Id: I1051fc5506c816150bea4d65c93a0e2877d375d3 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rwxr-xr-xsrc/dhcp.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 644aac6..7ca19d0 100755
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -480,24 +480,11 @@ done:
static void ipv4ll_available_cb(GDHCPClient *ipv4ll_client, gpointer user_data)
{
struct connman_dhcp *dhcp = user_data;
-#if !defined TIZEN_EXT
char *address, *netmask;
unsigned char prefixlen;
-#endif
DBG("IPV4LL available");
-#if defined TIZEN_EXT
- /*
- * Description: When DHCP is failed,
- * most of normal users cannot understand auto-generated IP
- * (IPV4 link local) and serious troubles to make Internet connection.
- */
- dhcp_invalidate(dhcp, true);
-
- connman_network_set_error(dhcp->network,
- CONNMAN_NETWORK_ERROR_DHCP_FAIL);
-#else
address = g_dhcp_client_get_address(ipv4ll_client);
netmask = g_dhcp_client_get_netmask(ipv4ll_client);
@@ -513,7 +500,6 @@ static void ipv4ll_available_cb(GDHCPClient *ipv4ll_client, gpointer user_data)
g_free(address);
g_free(netmask);
-#endif
}
static int dhcp_initialize(struct connman_dhcp *dhcp)