Skip to content

Commit fdc04cc

Browse files
Phil SutterFlorian Westphal
authored andcommitted
netfilter: nf_tables: uapi: Describe NFTA_RULE_CHAIN_ID
Add a brief description to the enum's comment. Fixes: 837830a ("netfilter: nf_tables: add NFTA_RULE_CHAIN_ID attribute") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
1 parent f4f8a78 commit fdc04cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/netfilter/nf_tables.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ enum nft_chain_attributes {
263263
* @NFTA_RULE_USERDATA: user data (NLA_BINARY, NFT_USERDATA_MAXLEN)
264264
* @NFTA_RULE_ID: uniquely identifies a rule in a transaction (NLA_U32)
265265
* @NFTA_RULE_POSITION_ID: transaction unique identifier of the previous rule (NLA_U32)
266+
* @NFTA_RULE_CHAIN_ID: add the rule to chain by ID, alternative to @NFTA_RULE_CHAIN (NLA_U32)
266267
*/
267268
enum nft_rule_attributes {
268269
NFTA_RULE_UNSPEC,

0 commit comments

Comments
 (0)