summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/dumps/comments_chain_0.nft
Commit message (Collapse)AuthorAgeFilesLines
* src: add comment support for chainsJose M. Guisado Gomez2020-09-301-0/+5
This patch enables the user to specify a comment when adding a chain. Relies on kernel space supporting userdata for chains. > nft add table ip filter > nft add chain ip filter input { comment "test"\; type filter hook input priority 0\; policy accept\; } > list ruleset table ip filter { chain input { comment "test" type filter hook input priority filter; policy accept; } } Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>