diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-06-28 21:32:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 21:32:08 +0200 |
commit | 93a4a4387af951a4680061bf4e1effa87fa65406 (patch) | |
tree | 5cf4f6cf539587d2e73dd751ac38b7547a3a1533 /src/lib/ndpi_main.c | |
parent | b2e89e67361a931672281f680faede0551542eea (diff) | |
parent | f39e3c98f05e84f263af7d74bcedb1051efa7169 (diff) |
Merge pull request #938 from IvanNardi/errors
Errors
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index e34a5a5ee..957e3b763 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -3288,6 +3288,9 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* IEC 60870-5-104 */ init_104_dissector(ndpi_str, &a, detection_bitmask); + /* DNP3 */ + init_dnp3_dissector(ndpi_str, &a, detection_bitmask); + /* WEBSOCKET */ init_websocket_dissector(ndpi_str, &a, detection_bitmask); @@ -4376,7 +4379,8 @@ static void ndpi_reset_packet_line_info(struct ndpi_packet_struct *packet) { packet->http_cookie.len = 0, packet->http_origin.len = 0, packet->http_origin.ptr = NULL, packet->http_x_session_type.ptr = NULL, packet->http_x_session_type.len = 0, packet->server_line.ptr = NULL, packet->server_line.len = 0, packet->http_method.ptr = NULL, packet->http_method.len = 0, - packet->http_response.ptr = NULL, packet->http_response.len = 0, packet->http_num_headers = 0; + packet->http_response.ptr = NULL, packet->http_response.len = 0, packet->http_num_headers = 0, + packet->forwarded_line.ptr = NULL, packet->forwarded_line.len = 0; } /* ********************************************************************************* */ |