diff options
author | Luca Deri <deri@ntop.org> | 2021-02-03 11:49:14 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-02-03 11:49:14 +0100 |
commit | 4b181be58e6f7aa03b3f01224d9d3190546fc07f (patch) | |
tree | 8f1df10154859eae3d5554ea889a731787be0e9a /example/reader_util.c | |
parent | d19bad1581b6e75c6d58ef4e09b87cfdb8a1fb46 (diff) |
Improved debug message
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 911c1f435..98650cf37 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -783,7 +783,7 @@ static struct ndpi_flow_info *get_ndpi_flow_info(struct ndpi_workflow * workflow #if 0 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 idx = hashval % workflow->prefs.num_roots; |