mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 08:23:04 +02:00
don't print RAW packet to stdout
This commit is contained in:
parent
307fa9e5fa
commit
741654e13d
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ int update_agents(char * data, int length) {
|
||||||
spot = packet.find_first_of (",", 0);
|
spot = packet.find_first_of (",", 0);
|
||||||
while (spot != std::string::npos) {
|
while (spot != std::string::npos) {
|
||||||
std::string thisAgent = packet.substr(start_spot, spot-start_spot);
|
std::string thisAgent = packet.substr(start_spot, spot-start_spot);
|
||||||
std::cout << "RAW: " << thisAgent << "\n";
|
|
||||||
sscanf(thisAgent.c_str(), "%c %s %hd %s %hd", &agentType, public_address, &public_port, private_address, &private_port);
|
sscanf(thisAgent.c_str(), "%c %s %hd %s %hd", &agentType, public_address, &public_port, private_address, &private_port);
|
||||||
add_agent(public_address, public_port, private_address, private_port, agentType);
|
add_agent(public_address, public_port, private_address, private_port, agentType);
|
||||||
numAgents++;
|
numAgents++;
|
||||||
|
|
Loading…
Reference in a new issue