From 94ee294aea98a945a5b9f78cb23de8896e3f1253 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 4 Jun 2019 17:30:53 +0100 Subject: [PATCH] Removing debug printf's --- srsue/src/stack/upper/tft_packet_filter.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/srsue/src/stack/upper/tft_packet_filter.cc b/srsue/src/stack/upper/tft_packet_filter.cc index 1ce7fdd90..2d0239374 100644 --- a/srsue/src/stack/upper/tft_packet_filter.cc +++ b/srsue/src/stack/upper/tft_packet_filter.cc @@ -116,7 +116,6 @@ bool tft_packet_filter_t::match(const srslte::unique_byte_buffer_t& pdu) // Check Type of Service/Traffic class if (!match_type_of_service(pdu)) { - printf("still not matching\n"); return false; } @@ -177,11 +176,9 @@ bool tft_packet_filter_t::match_type_of_service(const srslte::unique_byte_buffer { struct iphdr* ip_pkt = (struct iphdr*)pdu->msg; - printf("tos %d %d\n", ip_pkt->tos, type_of_service); if (ip_pkt->version == 4 && (active_filters & TYPE_OF_SERVICE_FLAG)) { // Check match on IPv4 packet if (ip_pkt->tos != type_of_service) { - printf("not matching!\n"); return false; } } else if (ip_pkt->version == 6 && (active_filters & TYPE_OF_SERVICE_FLAG)) {