]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
src: fix a couple of typo's in comments
authorJeremy Sowden <jeremy@azazel.net>
Sun, 12 Mar 2023 20:27:10 +0000 (20:27 +0000)
committerFlorian Westphal <fw@strlen.de>
Sun, 12 Mar 2023 20:55:00 +0000 (21:55 +0100)
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
include/datatype.h
src/parser_bison.y

index 73f38f66c4ce166936a18bc49256976eeb539df2..391d6ac8b4bd2237a229f5776fe9db5f2c4b5f42 100644 (file)
@@ -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)
index 3c06ff48c95cd8dcd642be330390e60f591c4aed..ccedfafe1bfaec6c5e4a2acc87824d2b122e8514 100644 (file)
@@ -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;