summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/comments_table_0
Commit message (Collapse)AuthorAgeFilesLines
* src: add comment support when adding tablesJose M. Guisado Gomez2020-08-281-0/+5
Adds userdata building logic if a comment is specified when creating a new table. Adds netlink userdata parsing callback function. Relies on kernel supporting userdata for nft_table. Example: > nft add table ip x { comment "test"\; } > nft list ruleset table ip x { comment "test" } Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>