diff --git a/owlps-positioner/src/inputudpsocket.cc b/owlps-positioner/src/inputudpsocket.cc index 1000cd5..daa8bbd 100644 --- a/owlps-positioner/src/inputudpsocket.cc +++ b/owlps-positioner/src/inputudpsocket.cc @@ -126,7 +126,7 @@ bool InputUDPSocket::fill_current_request() // Display request's info if (Configuration::is_configured("verbose")) - cout + cerr << "*** Request received from the aggregator ***" << "\n\tType: " << static_cast(request.type) << "\n\tNumber of packets: " << request.nb_packets @@ -146,7 +146,7 @@ bool InputUDPSocket::fill_current_request() ! Stock::mobile_exists(mac_mobile)) { if (Configuration::is_configured("verbose")) - cout << "Dropping request from unknown mobile " + cerr << "Dropping request from unknown mobile " << mac_mobile << ".\n" ; return false ; } @@ -199,7 +199,7 @@ bool InputUDPSocket::fill_current_request() ss_t ss = request_info.ss_dbm - 256 ; if (Configuration::is_configured("verbose")) - cout + cerr << "\t* Packet received from the aggregator:" << "\n\t\tPacket number: " << packet_id << "\n\t\tAP MAC: " << mac_ap @@ -212,7 +212,7 @@ bool InputUDPSocket::fill_current_request() ! Stock::ap_exists(mac_ap)) { if (Configuration::is_configured("verbose")) - cout << "Dropping packet from unknown AP " + cerr << "Dropping packet from unknown AP " << mac_ap << ".\n" ; continue ; }