diff options
-rw-r--r-- | example/ndpiReader.c | 3 | ||||
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index e30df41f9..3f030265c 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -761,9 +761,6 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa if((verbose != 1) && (verbose != 2)) return; - if(5222 == ntohs(flow->dst_port)) - printf("************\n"); - if(!json_flag) { fprintf(out, "\t%u", id); diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 23ea29947..8ea0de499 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -3995,9 +3995,6 @@ ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_st if(flow == NULL) return(ret); - if(flow->packet.tcp && (5222 == ntohs(flow->packet.tcp->dest))) - printf("%u - %u\n", ntohs(flow->packet.tcp->source), ntohs(flow->packet.tcp->dest)); - /* TODO: add the remaining stage_XXXX protocols */ if(flow->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) { u_int16_t guessed_protocol_id, guessed_host_protocol_id; |