Improved debug message
This commit is contained in:
@@ -783,7 +783,7 @@ static struct ndpi_flow_info *get_ndpi_flow_info(struct ndpi_workflow * workflow
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
printf("hashval=%u [%u][%u][%u:%u][%u:%u]\n", hashval, flow.protocol, flow.vlan_id,
|
printf("hashval=%u [%u][%u][%u:%u][%u:%u]\n", hashval, flow.protocol, flow.vlan_id,
|
||||||
flow.src_ip, flow.src_port, flow.dst_ip, flow.dst_port);
|
flow.src_ip, flow.src_port, ntohs(flow.dst_ip), ntohs(flow.dst_port));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
idx = hashval % workflow->prefs.num_roots;
|
idx = hashval % workflow->prefs.num_roots;
|
||||||
|
|||||||
Reference in New Issue
Block a user