From 92a7612e2f0457ac6d0992f249089795ed9c147e Mon Sep 17 00:00:00 2001 From: Tom Early Date: Tue, 7 Dec 2021 11:58:59 -0700 Subject: [PATCH] checking CM17Protocol::OnDvHeaderPacketIn --- reflector/M17Protocol.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reflector/M17Protocol.cpp b/reflector/M17Protocol.cpp index cb7cf74..01d29e0 100644 --- a/reflector/M17Protocol.cpp +++ b/reflector/M17Protocol.cpp @@ -183,6 +183,7 @@ void CM17Protocol::OnDvHeaderPacketIn(std::unique_ptr &Header, CCallsign my(Header->GetMyCallsign()); CCallsign rpt1(Header->GetRpt1Callsign()); CCallsign rpt2(Header->GetRpt2Callsign()); + std::cout << "New Header: my=" << my << " Rpt1=" << rpt1 << " Rpt2=" << rpt2 << std::endl; // find this client std::shared_ptrclient = g_Reflector.GetClients()->FindClient(Ip, EProtocol::m17); @@ -191,6 +192,7 @@ void CM17Protocol::OnDvHeaderPacketIn(std::unique_ptr &Header, // get client callsign rpt1 = client->GetCallsign(); // and try to open the stream + std::cout << "Client has c/s=" << rpt1 << std::endl; if ( (stream = g_Reflector.OpenStream(Header, client)) != nullptr ) { // keep the handle