Subversion Repositories tpanel

Rev

Rev 147 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 150
Line 345... Line 345...
345
        initSend = false;
345
        initSend = false;
346
        ready = false;
346
        ready = false;
347
 
347
 
348
        if (__CommValid && TConfig::getController() == "0.0.0.0")
348
        if (__CommValid && TConfig::getController() == "0.0.0.0")
349
        {
349
        {
-
 
350
            string controller = TConfig::getController();
350
            MSG_INFO("Refusing to connect to invalid controller " << TConfig::getController());
351
            MSG_INFO("Refusing to connect to invalid controller " << controller);
351
            sendAllFuncNetwork(NSTATE_OFFLINE);
352
            sendAllFuncNetwork(NSTATE_OFFLINE);
352
            std::this_thread::sleep_for(std::chrono::seconds(10));  // Wait 10 seconds before next try
353
            std::this_thread::sleep_for(std::chrono::seconds(10));  // Wait 10 seconds before next try
353
            continue;
354
            continue;
354
        }
355
        }
355
 
356