aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/include/ndpi_typedefs.h2
-rw-r--r--src/lib/protocols/tcp_udp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 816e36bcf..5b5698edd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -384,7 +384,7 @@
- Fix stop of extra dissection in HTTP, Bittorrent, Kerberos
- Fix signed integer overflow in ASN1/BER dissector
- Fix char/uchar bug in ahocorasick
- - Fix endianess in IP-Port lookup
+ - Fix endianness in IP-Port lookup
- Fix FastCGI memory allocation issue
- Fix metadata extraction in NAT-PMP
- Fix invalid unidirectional traffic alert for unidirectional protocols (e.g. sFlow)
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;