summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-03-30 06:09:55 (GMT)
committerSeonah Moon <seonah1.moon@samsung.com>2017-03-30 06:10:03 (GMT)
commitb9a4f38dcd5587016b057bd044fd643218b77b4d (patch)
tree4a139f7546d0e9b8a9c4ff78e8d6ddaa627742bb
parent276d292d773fe55f8829e408002bcdf3ff7f84e6 (diff)
downloadconnman-b9a4f38dcd5587016b057bd044fd643218b77b4d.zip
connman-b9a4f38dcd5587016b057bd044fd643218b77b4d.tar.gz
connman-b9a4f38dcd5587016b057bd044fd643218b77b4d.tar.bz2
Removed unnecessary logsrefs/changes/50/122050/2
Change-Id: Ia9688dbfa5bd0b2e5f917003c6d5825e2e4c7b5f
-rwxr-xr-xsrc/dhcpv6.c6
-rwxr-xr-xsrc/ipconfig.c8
-rwxr-xr-xsrc/manager.c2
-rwxr-xr-xsrc/network.c10
-rwxr-xr-xsrc/service.c6
5 files changed, 24 insertions, 8 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c
index 3d66ef3..55dcd61 100755
--- a/src/dhcpv6.c
+++ b/src/dhcpv6.c
@@ -417,7 +417,9 @@ static int dhcpv6_info_request(struct connman_dhcpv6 *dhcp)
return -EINVAL;
}
+#if !defined TIZEN_EXT
if (getenv("CONNMAN_DHCPV6_DEBUG"))
+#endif
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
@@ -1769,7 +1771,9 @@ static int dhcpv6_solicitation(struct connman_dhcpv6 *dhcp)
return -EINVAL;
}
+#if !defined TIZEN_EXT
if (getenv("CONNMAN_DHCPV6_DEBUG"))
+#endif
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
@@ -2086,7 +2090,9 @@ static GDHCPClient *create_pd_client(struct connman_dhcpv6 *dhcp, int *err)
return NULL;
}
+#if !defined TIZEN_EXT
if (getenv("CONNMAN_DHCPV6_DEBUG"))
+#endif
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6:PD");
service = connman_service_lookup_from_network(dhcp->network);
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 27d98b2..46239fe 100755
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -1839,8 +1839,6 @@ void __connman_ipconfig_append_ipv4(struct connman_ipconfig *ipconfig,
struct connman_ipaddress *append_addr = NULL;
const char *str;
- DBG("");
-
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV4)
return;
@@ -1901,8 +1899,6 @@ void __connman_ipconfig_append_ipv6(struct connman_ipconfig *ipconfig,
struct connman_ipaddress *append_addr = NULL;
const char *str, *privacy;
- DBG("");
-
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
return;
@@ -1964,8 +1960,6 @@ void __connman_ipconfig_append_ipv6config(struct connman_ipconfig *ipconfig,
{
const char *str, *privacy;
- DBG("");
-
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
@@ -2008,8 +2002,6 @@ void __connman_ipconfig_append_ipv4config(struct connman_ipconfig *ipconfig,
{
const char *str;
- DBG("");
-
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
diff --git a/src/manager.c b/src/manager.c
index bd52f39..32705e4 100755
--- a/src/manager.c
+++ b/src/manager.c
@@ -140,7 +140,9 @@ static DBusMessage *get_technologies(DBusConnection *conn,
{
DBusMessage *reply;
+#if !defined TIZEN_EXT
DBG("");
+#endif
reply = dbus_message_new_method_return(msg);
if (!reply)
diff --git a/src/network.c b/src/network.c
index 5828829..c57d70e 100755
--- a/src/network.c
+++ b/src/network.c
@@ -518,11 +518,21 @@ static void check_dhcpv6(struct nd_router_advert *reply,
* We do stateful/stateless DHCPv6 if router advertisement says so.
*/
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED) {
+#if defined TIZEN_EXT
+ DBG("IPv6 ND_RA_FLAG_MANAGED");
+#endif
__connman_dhcpv6_start(network, prefixes, dhcpv6_callback);
} else {
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)
+#if defined TIZEN_EXT
+ {
+ DBG("IPv6 ND_RA_FLAG_OTHER");
+#endif
__connman_dhcpv6_start_info(network,
dhcpv6_info_callback);
+#if defined TIZEN_EXT
+ }
+#endif
g_slist_free_full(prefixes, g_free);
network->connecting = false;
diff --git a/src/service.c b/src/service.c
index 035930b..772c89f 100755
--- a/src/service.c
+++ b/src/service.c
@@ -5623,17 +5623,23 @@ static void service_append_added_foreach(gpointer data, gpointer user_data)
DBusMessageIter *iter = user_data;
if (!service || !service->path) {
+#if !defined TIZEN_EXT
DBG("service %p or path is NULL", service);
+#endif
return;
}
if (g_hash_table_lookup(services_notify->add, service->path)) {
+#if !defined TIZEN_EXT
DBG("new %s", service->path);
+#endif
append_struct(service, iter);
g_hash_table_remove(services_notify->add, service->path);
} else {
+#if !defined TIZEN_EXT
DBG("changed %s", service->path);
+#endif
append_struct_service(iter, NULL, service);
}