From: chleun.moon Date: Mon, 1 Aug 2016 07:55:33 +0000 (+0900) Subject: Revised to reduce the launch delay of mdnsresponder X-Git-Tag: accepted/tizen/common/20160805.125958^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F82156%2F1;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Revised to reduce the launch delay of mdnsresponder Change-Id: I8102fe53ffab4a777a6885380818bf35fb42644c Signed-off-by: cheoleun --- diff --git a/interfaces/netconfig-iface-network-state.xml b/interfaces/netconfig-iface-network-state.xml index baa583a..d059cfe 100755 --- a/interfaces/netconfig-iface-network-state.xml +++ b/interfaces/netconfig-iface-network-state.xml @@ -24,7 +24,6 @@ - diff --git a/resources/etc/dbus-1/system.d/net-config.conf b/resources/etc/dbus-1/system.d/net-config.conf index 35030f6..50e52e3 100644 --- a/resources/etc/dbus-1/system.d/net-config.conf +++ b/resources/etc/dbus-1/system.d/net-config.conf @@ -13,7 +13,6 @@ - diff --git a/src/network-state.c b/src/network-state.c index 41d9811..c8d7f73 100755 --- a/src/network-state.c +++ b/src/network-state.c @@ -1091,8 +1091,6 @@ void state_object_create_and_init(void) G_CALLBACK(handle_remove_route), NULL); g_signal_connect(netconfigstate, "handle-launch-mdns", G_CALLBACK(handle_launch_mdns), NULL); - g_signal_connect(netconfigstate, "handle-ref-mdns", - G_CALLBACK(handle_ref_mdns), NULL); g_signal_connect(netconfigstate, "handle-unref-mdns", G_CALLBACK(handle_unref_mdns), NULL); g_signal_connect(netconfigstate, "handle-device-policy-set-wifi", diff --git a/src/utils/util.c b/src/utils/util.c index b0c014e..d028cd5 100755 --- a/src/utils/util.c +++ b/src/utils/util.c @@ -784,16 +784,10 @@ gboolean handle_launch_mdns(Network *object, GDBusMethodInvocation *context) return FALSE; } - network_complete_launch_mdns(object, context); - return TRUE; -} - -gboolean handle_ref_mdns(Network *object, GDBusMethodInvocation *context) -{ mdnsd_ref_count++; - DBG("Ref mdnsresponder daemon. ref count: %d", mdnsd_ref_count); - network_complete_ref_mdns(object, context); + + network_complete_launch_mdns(object, context); return TRUE; }