debug recall
This commit is contained in:
@@ -52,7 +52,6 @@ extern int G_TEST_NUM;
|
||||
extern void ledger(const char* terminal_id = NULL,QIODevice* outputDevice = NULL);
|
||||
extern void value_print(const char *variableName, QTcpSocket *clientSocket);
|
||||
extern int TEST_PORT;
|
||||
extern void telnetetst(QTcpSocket* clientSocket);
|
||||
|
||||
extern void redirectErrorOutput(bool enable);
|
||||
extern void redirectWarnOutput(bool enable);
|
||||
@@ -154,8 +153,8 @@ public:
|
||||
TEST_NUM(G_TEST_NUM),
|
||||
timer(NULL),
|
||||
historyIndex(-1),
|
||||
stopViewLog(false),
|
||||
g_stopTelnetTest(false),
|
||||
stopViewLog(true),
|
||||
g_stopTelnetTest(true),
|
||||
activeClient(NULL)
|
||||
{
|
||||
}
|
||||
@@ -166,6 +165,8 @@ public:
|
||||
}
|
||||
|
||||
void handleViewLogCommand(const QString& command, QTcpSocket* clientSocket);
|
||||
int init_ping_telnet(QTcpSocket* clientSocket, int& ip_count, int& telnet_count);
|
||||
void telnetetst(QTcpSocket* clientSocket);
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -479,6 +480,7 @@ private:
|
||||
}
|
||||
}
|
||||
else if (cmd.startsWith("telnettest")) {
|
||||
g_stopTelnetTest = false;
|
||||
telnetetst(clientSocket);
|
||||
clientSocket->write("\r\x1B[K");
|
||||
clientSocket->write("Executed telnettest warning!!! it woont stop until finish!!!\r\n");
|
||||
|
||||
Reference in New Issue
Block a user