diff --git a/QnetITAP.cpp b/QnetITAP.cpp index d0472e6..8f75083 100644 --- a/QnetITAP.cpp +++ b/QnetITAP.cpp @@ -205,6 +205,7 @@ void CQnetITAP::Run(const char *cfgfile) bool is_alive = false; std::chrono::steady_clock::time_point lastdata = std::chrono::steady_clock::now(); + bool wasone = false; while (keep_running) { fd_set readfds; FD_ZERO(&readfds); @@ -271,10 +272,13 @@ void CQnetITAP::Run(const char *cfgfile) printf("\n"); break; case RT_DATA_ACK: - printf("DATA_ACK"); - for (int i=0; i