diff options
author | Patrick McHardy <kaber@trash.net> | 2015-03-20 06:30:29 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2015-04-12 19:59:27 +0100 |
commit | 35960e1e19bfe9135e33f13615d7d403d129192b (patch) | |
tree | 5e9843d4b76b18b3807453f8b051e628a04cd647 /include/expression.h | |
parent | 7b5248972d9f2122c7b3683ca205d3165e7a9255 (diff) |
setelem: add support for attaching comments to set elements
Syntax:
# nft add element filter test { 192.168.0.1 comment "some host" }
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/expression.h')
-rw-r--r-- | include/expression.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/expression.h b/include/expression.h index 6f23b6dd..010cb954 100644 --- a/include/expression.h +++ b/include/expression.h @@ -236,6 +236,7 @@ struct expr { struct expr *key; uint64_t timeout; uint64_t expiration; + const char *comment; }; struct { /* EXPR_UNARY */ |