diff options
author | Luca <deri@ntop.org> | 2017-05-24 18:53:51 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-05-24 18:53:51 +0200 |
commit | 993605d4f38e6e63a9ca6fee14a60688ae9df0de (patch) | |
tree | 6f8fd46c03fa4e651c74ee305e5b7e3a3319e41f /example/ndpi_util.h | |
parent | 904210e87cc792d48b610356647995f506c15e4e (diff) |
Fixed bug that was forcing the reader to pass several times the same flow
renamed some variables
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r-- | example/ndpi_util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h index f1807e56a..6bed00854 100644 --- a/example/ndpi_util.h +++ b/example/ndpi_util.h @@ -47,14 +47,14 @@ // flow tracking typedef struct ndpi_flow_info { u_int32_t hashval; - u_int32_t lower_ip; - u_int32_t upper_ip; - u_int16_t lower_port; - u_int16_t upper_port; + u_int32_t src_ip; + u_int32_t dst_ip; + u_int16_t src_port; + u_int16_t dst_port; u_int8_t detection_completed, protocol, bidirectional; u_int16_t vlan_id; struct ndpi_flow_struct *ndpi_flow; - char lower_name[48], upper_name[48]; + char src_name[48], dst_name[48]; u_int8_t ip_version; u_int64_t last_seen; u_int64_t src2dst_bytes, dst2src_bytes; |