summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-15 20:13:09 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-17 03:33:30 -0700
commit6e3436df89f8293c60ef750a6e442f1203f56d40 (patch)
treee9e19f6567b81ce68400ca0221ee69295db903f7 /src/dhcp.c
parent5858fc542fa6bd5766e6caee92e1a437656ce8de (diff)
downloadconnman-6e3436df89f8293c60ef750a6e442f1203f56d40.tar.gz
connman-6e3436df89f8293c60ef750a6e442f1203f56d40.tar.bz2
connman-6e3436df89f8293c60ef750a6e442f1203f56d40.zip
[SPIN] Added the connman disconnect reason property.
Change-Id: I11fd7baa7d00fa3f3a12bdafda7ff7aa6943d020 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/dhcp.c')
-rwxr-xr-xsrc/dhcp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 5514c332..644aac6a 100755
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -528,7 +528,14 @@ static int dhcp_initialize(struct connman_dhcp *dhcp)
dhcp_client = g_dhcp_client_new(G_DHCP_IPV4, index, &error);
if (error != G_DHCP_CLIENT_ERROR_NONE)
+#if defined TIZEN_EXT
+ {
+ DBG("failed g_dhcp_client_new(%d), index(%d)", error, index);
+#endif
return -EINVAL;
+#if defined TIZEN_EXT
+ }
+#endif
#if !defined TIZEN_EXT
if (getenv("CONNMAN_DHCP_DEBUG")) {