Skip to contentSkip to conversation

src: doc: Fix spelling and function name (x2)

PATCH New Duncan Roe 1 participant 1 message Apr 2, 2025 netfilter

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 src: doc: Fix spelling and function name (x2)

Fix spelling of "humnan" and name nfq_pkt_snprintf_tcp_hdr in description of nfq_tcp_snprintf. Same fix for nfq_udp_snprintf.

Fixes f40eabb01163 ("add pkt_buff and protocol helper functions")
---
 src/extra/tcp.c | 2 +-
 src/extra/udp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
src/extra/tcp.c +1 -1
index 720afd2..1bc379f 100644
@@ -168,7 +168,7 @@ union tcp_word_hdr {
 #define tcp_flag_word(tp) ( ((union tcp_word_hdr *)(tp))->words[3])
 
 /**
- * nfq_pkt_snprintf_tcp_hdr - print tcp header into one buffer in a humnan
+ * nfq_tcp_snprintf - print tcp header into one buffer in a human
  * readable way
  * \param buf: pointer to buffer that is used to print the object
  * \param size: size of the buffer (or remaining room in it).
src/extra/udp.c +1 -1
index ede2196..4d457ea 100644
@@ -228,7 +228,7 @@ int nfq_udp_mangle_ipv6(struct pkt_buff *pktb,
 }
 
 /**
- * nfq_pkt_snprintf_udp_hdr - print udp header into one buffer in a humnan
+ * nfq_udp_snprintf - print udp header into one buffer in a human
  * readable way
  * \param buf: pointer to buffer that is used to print the object
  * \param size: size of the buffer (or remaining room in it).
Signature · 1 line
2.46.3