Removed debug code
This commit is contained in:
@@ -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))
|
if((verbose != 1) && (verbose != 2))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(5222 == ntohs(flow->dst_port))
|
|
||||||
printf("************\n");
|
|
||||||
|
|
||||||
if(!json_flag) {
|
if(!json_flag) {
|
||||||
fprintf(out, "\t%u", id);
|
fprintf(out, "\t%u", id);
|
||||||
|
|
||||||
|
|||||||
@@ -3995,9 +3995,6 @@ ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_st
|
|||||||
|
|
||||||
if(flow == NULL) return(ret);
|
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 */
|
/* TODO: add the remaining stage_XXXX protocols */
|
||||||
if(flow->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) {
|
if(flow->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) {
|
||||||
u_int16_t guessed_protocol_id, guessed_host_protocol_id;
|
u_int16_t guessed_protocol_id, guessed_host_protocol_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user