diff options
author | Luca Deri <deri@ntop.org> | 2017-09-17 21:25:55 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-09-17 21:25:55 +0200 |
commit | d6f7dd9c08b8abcaa964f19c3f34c24ed2c558cd (patch) | |
tree | 16e5d716925ea5ca8a4a3f01d921251a0cd93deb /src/include/ndpi_typedefs.h | |
parent | 4176fd5068ed84c9f662a4b9ba97aa7794354fa4 (diff) |
Implemented DHCP field 55 decode
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r-- | src/include/ndpi_typedefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 71e2ba560..55c056bfb 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -908,6 +908,8 @@ struct ndpi_detection_module_struct { direction_detect_disable:1; /* disable internal detection of packet direction */ }; +#define dhcp_fingerprint host_server_name + struct ndpi_flow_struct { u_int16_t detected_protocol_stack[NDPI_PROTOCOL_SIZE]; #ifndef WIN32 @@ -946,7 +948,7 @@ struct ndpi_flow_struct { */ struct ndpi_id_struct *server_id; /* HTTP host or DNS query */ - u_char host_server_name[256]; + u_char host_server_name[256]; /* Shared with dhcp_fingerprint */ /* Via HTTP User-Agent */ u_char detected_os[32]; /* Via HTTP X-Forwarded-For */ |