Added dump log for connect fail #2
[platform/core/connectivity/net-config.git] / src / signal-handler.c
index d81db12..80fd083 100755 (executable)
@@ -522,8 +522,15 @@ static void _service_signal_cb(GDBusConnection *conn,
                g_variant_get(variant, "s", &property);
                INFO("[%s] Property : %s", sigvalue, property);
 #if defined TIZEN_DEBUG_ENABLE
-               if (g_strcmp0(property, "connect-failed") == 0 || g_strcmp0(property, "invalid-key") == 0 || g_strcmp0(property, "auth-failed") == 0)
+               if (g_strcmp0(property, "dhcp-failed") == 0
+                       || g_strcmp0(property, "connect-failed") == 0
+                       || g_strcmp0(property, "login-failed") == 0
+                       || g_strcmp0(property, "auth-failed") == 0
+                       || g_strcmp0(property, "invalid-key") == 0) {
+
+                       INFO("start dump");
                        _start_dump();
+               }
 #endif
                g_free(property);
        }