From ead9aa72da848cea78ecdedd5fc411ed2a73cc78 Mon Sep 17 00:00:00 2001 From: RoboSchmied Date: Thu, 4 Apr 2024 20:06:47 +0200 Subject: Fix: 3 typos (#2366) Signed-off-by: RoboSchmied --- src/include/ndpi_typedefs.h | 2 +- src/lib/protocols/tcp_udp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index b8aba218c..909b98bb2 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -438,7 +438,7 @@ PACK_ON struct ndpi_mpls_header { /* 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__) u_int32_t ttl:8, s:1, exp:3, label:20; #elif defined(__BIG_ENDIAN__) diff --git a/src/lib/protocols/tcp_udp.c b/src/lib/protocols/tcp_udp.c index 59d137b50..a9dd09196 100644 --- a/src/lib/protocols/tcp_udp.c +++ b/src/lib/protocols/tcp_udp.c @@ -25,7 +25,7 @@ u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct, 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; struct in_addr host; -- cgit v1.2.3