diff options
author | RoboSchmied <github@roboschmie.de> | 2024-04-04 20:06:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 20:06:47 +0200 |
commit | ead9aa72da848cea78ecdedd5fc411ed2a73cc78 (patch) | |
tree | c656f6555fc3534b1fee9e15c644ff04f231c021 /src | |
parent | df29e12f5efbe84306c1ee7c011a197caec6de50 (diff) |
Fix: 3 typos (#2366)
Signed-off-by: RoboSchmied <github@roboschmie.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 2 | ||||
-rw-r--r-- | src/lib/protocols/tcp_udp.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |