Fix: 3 typos (#2366)

Signed-off-by: RoboSchmied <github@roboschmie.de>
This commit is contained in:
RoboSchmied
2024-04-04 20:06:47 +02:00
committed by GitHub
parent df29e12f5e
commit ead9aa72da
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -384,7 +384,7 @@
- Fix stop of extra dissection in HTTP, Bittorrent, Kerberos - Fix stop of extra dissection in HTTP, Bittorrent, Kerberos
- Fix signed integer overflow in ASN1/BER dissector - Fix signed integer overflow in ASN1/BER dissector
- Fix char/uchar bug in ahocorasick - Fix char/uchar bug in ahocorasick
- Fix endianess in IP-Port lookup - Fix endianness in IP-Port lookup
- Fix FastCGI memory allocation issue - Fix FastCGI memory allocation issue
- Fix metadata extraction in NAT-PMP - Fix metadata extraction in NAT-PMP
- Fix invalid unidirectional traffic alert for unidirectional protocols (e.g. sFlow) - Fix invalid unidirectional traffic alert for unidirectional protocols (e.g. sFlow)
+1 -1
View File
@@ -438,7 +438,7 @@ PACK_ON
struct ndpi_mpls_header struct ndpi_mpls_header
{ {
/* Before using this strcut to parse an MPLS header, you will need to convert /* Before using this strcut to parse an MPLS header, you will need to convert
* the 4-byte data to the correct endianess with ntohl(). */ * the 4-byte data to the correct endianness with ntohl(). */
#if defined(__LITTLE_ENDIAN__) #if defined(__LITTLE_ENDIAN__)
u_int32_t ttl:8, s:1, exp:3, label:20; u_int32_t ttl:8, s:1, exp:3, label:20;
#elif defined(__BIG_ENDIAN__) #elif defined(__BIG_ENDIAN__)
+1 -1
View File
@@ -25,7 +25,7 @@
u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct, u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow, struct ndpi_flow_struct *flow,
u_int32_t saddr, u_int32_t daddr) /* host endianess */ u_int32_t saddr, u_int32_t daddr) /* host endianness */
{ {
u_int16_t rc; u_int16_t rc;
struct in_addr host; struct in_addr host;