diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2023-03-12 20:27:10 +0000 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-03-12 21:55:00 +0100 |
commit | b2be88838d52e10350a90e021ed4556033844b4b (patch) | |
tree | 76ebe5ff45129f4fb55f5eafd4b84f07c03d4ade | |
parent | b54d33706e10289f5e1efcd077f04c26561e69dd (diff) |
src: fix a couple of typo's in comments
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | include/datatype.h | 2 | ||||
-rw-r--r-- | src/parser_bison.y | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/datatype.h b/include/datatype.h index 73f38f66..391d6ac8 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -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) diff --git a/src/parser_bison.y b/src/parser_bison.y index 3c06ff48..ccedfafe 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -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; |