From 64da67ca56b7a2be13c6bf52048d949c05198e2c Mon Sep 17 00:00:00 2001 From: Yang Bin <73997093+SuperBigYB@users.noreply.github.com> Date: Tue, 19 Sep 2023 22:04:43 +0800 Subject: [PATCH] Update tcp.h (#516) Fix a spelling error --- include/tins/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tins/tcp.h b/include/tins/tcp.h index 7e906c5..3f3e000 100644 --- a/include/tins/tcp.h +++ b/include/tins/tcp.h @@ -303,7 +303,7 @@ public: * TCP tcp = ...; * if(tcp.has_flags(TCP::SYN | TCP::ACK)) { * // It's a SYN+ACK, but it also possible that other flags are set! - * // it is equivalent to: (tpc.flags() & (TCP::SYN | TCP::ACK)) == (TCP::SYN | TCP::ACK) + * // it is equivalent to: (tcp.flags() & (TCP::SYN | TCP::ACK)) == (TCP::SYN | TCP::ACK) * } * \endcode *