Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloangelo committed Aug 23, 2017
1 parent fe45351 commit 5d15858
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/output-plugins/spo_hogzilla.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,19 +1185,19 @@ static void updateFlowFeatures(struct ndpi_flow_info *flow,
uint16_t mss;
uint8_t wscale=0;

// TODO: DEBUG


struct ndpi_flow_struct *ndpi_flow = flow->ndpi_flow;

if(flow->packets==0)
return ;
return ;
if(flow->packets==0) {
printf("TIME: %ld, addr: %p\n",time,&time);
flow->last_seen = time;
}




// TODO: DEBUG
return ;


if(flow->packets<HOGZILLA_MAX_NDPI_PKT_PER_FLOW) {
Expand Down

0 comments on commit 5d15858

Please sign in to comment.