aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2016-02-26 20:48:14 +0100
committerCampus <campus@ntop.org>2016-02-26 20:48:14 +0100
commit6df31099c21198643336cc3a064df33cb559c547 (patch)
treed42b0804724b086fbbe632cc3a86de84f0ea6451 /example/ndpiReader.c
parentb7e2d8f01916216143d2c1a545d4fb89b9da02dc (diff)
typo fixed
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index b334486e1..76c0c30bf 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -540,7 +540,7 @@ static void printFlow(u_int16_t thread_id, struct ndpi_flow *flow) {
json_object_object_add(jObj,"host_a.name",json_object_new_string(flow->lower_name));
json_object_object_add(jObj,"host_a.port",json_object_new_int(ntohs(flow->lower_port)));
json_object_object_add(jObj,"host_b.name",json_object_new_string(flow->upper_name));
- json_object_object_add(jObj,"host_n.port",json_object_new_int(ntohs(flow->upper_port)));
+ json_object_object_add(jObj,"host_b.port",json_object_new_int(ntohs(flow->upper_port)));
if(flow->detected_protocol.master_protocol)
json_object_object_add(jObj,"detected.masterprotocol",json_object_new_int(flow->detected_protocol.master_protocol));
@@ -1966,7 +1966,7 @@ void *processing_thread(void *_thread_id) {
goto pcap_loop;
}
}
-
+
return NULL;
}