aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/ndpiReader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index f746dfe3d..9f355087b 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -100,7 +100,7 @@ FILE *fingerprint_fp = NULL; /**< for flow fingerprint export */
/** User preferences **/
char *addr_dump_path = NULL;
-u_int8_t enable_realtime_output = 0, enable_protocol_guess = NDPI_GIVEUP_GUESS_BY_PORT | NDPI_GIVEUP_GUESS_BY_IP, enable_payload_analyzer = 0, num_bin_clusters = 0, extcap_exit = 0;
+u_int8_t enable_realtime_output = 0, enable_payload_analyzer = 0, num_bin_clusters = 0, extcap_exit = 0;
u_int8_t verbose = 0, enable_flow_stats = 0;
bool do_load_lists = false;
@@ -1130,7 +1130,6 @@ static void parseOptions(int argc, char **argv) {
break;
case 'd':
- enable_protocol_guess = 0;
if(reader_add_cfg(NULL, "dpi.guess_on_giveup", "0", 1) == 1) {
printf("Invalid parameter [%s] [num:%d/%d]\n", optarg, num_cfgs, MAX_NUM_CFGS);
exit(1);