Skip to contentSkip to conversation

src: fix a couple of typo's in comments

PATCH New Jeremy Sowden 1 participant 1 message Mar 12, 2023 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 src: fix a couple of typo's in comments

---
 include/datatype.h | 2 +-
 src/parser_bison.y | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/datatype.h +1 -1
index 73f38f66c4ce..391d6ac8b4bd 100644
@@ -23,7 +23,7 @@
  * @TYPE_INET_SERVICE:	internet service (integer subtype)
  * @TYPE_ICMP_TYPE:	ICMP type codes (integer subtype)
  * @TYPE_TCP_FLAG:	TCP flag (bitmask subtype)
- * @TCPE_DCCP_PKTTYPE:	DCCP packet type (integer subtype)
+ * @TYPE_DCCP_PKTTYPE:	DCCP packet type (integer subtype)
  * @TYPE_MH_TYPE:	Mobility Header type (integer subtype)
  * @TYPE_TIME:		relative time
  * @TYPE_MARK:		packet mark (integer subtype)
src/parser_bison.y +1 -1
index 3c06ff48c95c..ccedfafe1bfa 100644
@@ -6180,7 +6180,7 @@ exthdr_exists_expr	:	EXTHDR	exthdr_key
 				desc = exthdr_find_proto($2);
 
 				/* Assume that NEXTHDR template is always
-				 * the fist one in list of templates.
+				 * the first one in list of templates.
 				 */
 				$$ = exthdr_expr_alloc(&@$, desc, 1);
 				$$->exthdr.flags = NFT_EXTHDR_F_PRESENT;
Signature · 1 line
2.39.2