summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-04-25 17:03:22 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-04-25 17:03:40 +0900
commit1664a9129b021a21f4d96abea734a9df9913835c (patch)
treea9f96142b8e7d172c9abd5d7963334e726a93d5c /src/connection.c
parent7ac2bbaa4d7c87aa8f176b5f7f9b445b09abeb44 (diff)
downloadconnman-1664a9129b021a21f4d96abea734a9df9913835c.tar.gz
connman-1664a9129b021a21f4d96abea734a9df9913835c.tar.bz2
connman-1664a9129b021a21f4d96abea734a9df9913835c.zip
Added some logs for debugging
Change-Id: I3a133fa6aebd28dea42f7dfd9ecb42d04c45f291 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Diffstat (limited to 'src/connection.c')
-rwxr-xr-xsrc/connection.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index 0b6dc4af..4389d587 100755
--- a/src/connection.c
+++ b/src/connection.c
@@ -962,6 +962,12 @@ int __connman_connection_gateway_add(struct connman_service *service,
}
if (!active_gateway) {
+#if defined TIZEN_EXT
+ if(new_gateway->ipv4_gateway)
+ DBG("ConnMan, Set default gateway[%s], active[%d]",
+ new_gateway->ipv4_gateway->gateway,
+ new_gateway->ipv4_gateway->active);
+#endif
set_default_gateway(new_gateway, type);
goto done;
}