diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-08-13 01:02:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-17 15:52:58 +0200 |
commit | 48a71a20420e307d0a1d8a89ac9fc7b46ec5a1ca (patch) | |
tree | 00858dc8a09fb9991358d6cca1468ba3fbea143d /src/expr_ops.c | |
parent | af494b6878ed605e3b52d13e6aba023f3cd985ca (diff) |
expr: add hash expression
Support for the nft hash expression in libnftnl.
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr_ops.c')
-rw-r--r-- | src/expr_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr_ops.c b/src/expr_ops.c index ae515af..9b10029 100644 --- a/src/expr_ops.c +++ b/src/expr_ops.c @@ -26,6 +26,7 @@ extern struct expr_ops expr_ops_reject; extern struct expr_ops expr_ops_queue; extern struct expr_ops expr_ops_target; extern struct expr_ops expr_ops_dynset; +extern struct expr_ops expr_ops_hash; static struct expr_ops *expr_ops[] = { &expr_ops_bitwise, @@ -50,6 +51,7 @@ static struct expr_ops *expr_ops[] = { &expr_ops_queue, &expr_ops_target, &expr_ops_dynset, + &expr_ops_hash, NULL, }; |