diff options
author | Luca Deri <deri@ntop.org> | 2020-10-27 08:40:00 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-10-27 08:40:00 +0100 |
commit | 48d640583a58de62ed1a500e2e98b19a9ffce1ef (patch) | |
tree | 50597afe6f0f70f01f0855a0b5eecf8fa2725206 /example/ndpiReader.c | |
parent | 948a9060378a2a33f5701947386492ff10cb2de6 (diff) |
Moved global in reader_util.c
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index ac82fb45c..fe81c2265 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -76,7 +76,7 @@ u_int8_t enable_protocol_guess = 1, enable_payload_analyzer = 0, num_bin_cluster u_int8_t verbose = 0, enable_joy_stats = 0; int nDPI_LogLevel = 0; char *_debug_protocols = NULL; -u_int8_t human_readeable_string_len = 5, enable_doh_dot_detection = 0; +u_int8_t human_readeable_string_len = 5; u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Signal requires more */, max_num_tcp_dissected_pkts = 80 /* due to telnet */; static u_int32_t pcap_analysis_duration = (u_int32_t)-1; static u_int16_t decode_tunnels = 0; @@ -94,6 +94,7 @@ static time_t capture_until = 0; static u_int32_t num_flows; static struct ndpi_detection_module_struct *ndpi_info_mod = NULL; +extern u_int8_t enable_doh_dot_detection; extern u_int32_t max_num_packets_per_flow, max_packet_payload_dissection, max_num_reported_top_payloads; extern u_int16_t min_pattern_len, max_pattern_len; extern void ndpi_self_check_host_match(); /* Self check function */ |