aqhome-tool: write response messages for ping command
This commit is contained in:
@@ -155,6 +155,8 @@ int _doPing(GWEN_DB_NODE *dbArgs)
|
||||
return 2;
|
||||
}
|
||||
|
||||
fprintf(stdout, "Sending PING request\n");
|
||||
|
||||
rv=_sendPing(epTcp, nodeAddr);
|
||||
if (rv<0) {
|
||||
DBG_INFO(NULL, "here (%d)", rv);
|
||||
@@ -168,7 +170,7 @@ int _doPing(GWEN_DB_NODE *dbArgs)
|
||||
return 2;
|
||||
}
|
||||
|
||||
DBG_INFO(NULL, "PONG response received");
|
||||
fprintf(stdout, "PONG response received\n");
|
||||
GWEN_MsgEndpointMgr_free(emgr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user