[PATCH libnetfilter_queue] src: doc: Fix spelling and function name (x2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reported-by: "G.W. Haywood" <ged@xxxxxxxxxxxxxxxxxx>
Fixes: f40eabb01163 ("add pkt_buff and protocol helper functions")
Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx>
---
 src/extra/tcp.c | 2 +-
 src/extra/udp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/extra/tcp.c b/src/extra/tcp.c
index 720afd2..1bc379f 100644
--- a/src/extra/tcp.c
+++ b/src/extra/tcp.c
@@ -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).
diff --git a/src/extra/udp.c b/src/extra/udp.c
index ede2196..4d457ea 100644
--- a/src/extra/udp.c
+++ b/src/extra/udp.c
@@ -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).
-- 
2.46.3





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux