File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ namespace OpenWifi {
138138 fmt::format (" TELEMETRY-WS-PING({}): received. PONG sent back." , CId_));
139139 WS_ ->sendFrame (" " , 0 ,
140140 (int )Poco::Net::WebSocket::FRAME_OP_PONG |
141- (int )Poco::Net::WebSocket::FRAME_FLAG_FIN );
141+ (int )Poco::Net::WebSocket::FRAME_FLAG_FIN );
142142 } else if (Op == Poco::Net::WebSocket::FRAME_OP_CLOSE ) {
143143 poco_information (Logger (),
144144 fmt::format (" TELEMETRY-DISCONNECT({}): device wants to disconnect." , CId_));
Original file line number Diff line number Diff line change @@ -610,8 +610,8 @@ namespace OpenWifi {
610610
611611 case Poco::Net::WebSocket::FRAME_OP_PING: {
612612 Connection->WSSocket_ ->sendFrame (" " , 0 ,
613- (int ) Poco::Net::WebSocket::FRAME_FLAG_FIN |
614- (int ) Poco::Net::WebSocket::FRAME_OP_BINARY );
613+ (int )Poco::Net::WebSocket::FRAME_OP_PONG |
614+ (int )Poco::Net::WebSocket::FRAME_OP_BINARY);
615615 } break ;
616616
617617 case Poco::Net::WebSocket::FRAME_OP_PONG: {
You can’t perform that action at this time.
0 commit comments