aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/ndpiReader.c2
-rw-r--r--src/include/ndpi_typedefs.h19
2 files changed, 1 insertions, 20 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index e5119692b..082871346 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -113,7 +113,7 @@ static u_int8_t undetected_flows_deleted = 0;
/**
* User preferences
*/
-static u_int8_t enable_protocol_guess = 1, verbose = 0, nDPI_traceLevel = 2, json_flag = 0;
+static u_int8_t enable_protocol_guess = 1, verbose = 0, nDPI_traceLevel = 0, json_flag = 0;
static u_int16_t decode_tunnels = 0;
static u_int16_t num_loops = 1;
static u_int8_t shutdown_app = 0, quiet_mode = 0;
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 4fe8d5712..620c9685d 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -345,14 +345,6 @@ typedef enum {
HTTP_METHOD_CONNECT
} ndpi_http_method;
-typedef enum {
- COAP_METHOD_UNKNOWN = 0,
- COAP_METHOD_GET,
- COAP_METHOD_POST,
- COAP_METHOD_PUT,
- COAP_METHOD_DELETE
-} ndpi_coap_method;
-
struct ndpi_id_struct {
/**
detected_protocol_bitmask:
@@ -584,9 +576,6 @@ struct ndpi_flow_tcp_struct {
u_int8_t prev_zmq_pkt_len;
u_char prev_zmq_pkt[10];
#endif
-#ifdef NDPI_PROTOCOL_MQTT
- u_int8_t mqtt_stage:2;
-#endif
}
#ifndef WIN32
__attribute__ ((__packed__))
@@ -636,9 +625,6 @@ struct ndpi_flow_udp_struct {
u_int8_t eaq_pkt_id;
u_int32_t eaq_sequence;
#endif
-#ifdef NDPI_PROTOCOL_COAP
- u_int32_t coap_stage:2;
-#endif
}
#ifndef WIN32
__attribute__ ((__packed__))
@@ -921,11 +907,6 @@ struct ndpi_flow_struct {
char *url, *content_type;
} http;
- struct {
- ndpi_coap_method method;
- char *url, *content_type;
- } coap;
-
union {
/* the only fields useful for nDPI and ntopng */