summaryrefslogtreecommitdiffstats
path: root/src/expr_ops.c
diff options
context:
space:
mode:
authorLaura Garcia Liebana <nevola@gmail.com>2016-08-13 01:02:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-17 15:52:58 +0200
commit48a71a20420e307d0a1d8a89ac9fc7b46ec5a1ca (patch)
tree00858dc8a09fb9991358d6cca1468ba3fbea143d /src/expr_ops.c
parentaf494b6878ed605e3b52d13e6aba023f3cd985ca (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.c2
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,
};