summaryrefslogtreecommitdiffstats
path: root/src/object.c
diff options
context:
space:
mode:
authorSt├ęphane Veyret <sveyret@gmail.com>2019-05-31 18:51:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-06-19 13:11:13 +0200
commitc4b6aa09b85d2604a07ad4b4464b1cbf6e7fa238 (patch)
tree49e851419f12137434873b475f5da3e218d608b5 /src/object.c
parentd819a832e0214a3bec3679345f542644596a2850 (diff)
src: add ct expectation support
Add support for ct expectation objects, used to define specific expectations. Signed-off-by: St├ęphane Veyret <sveyret@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object.c b/src/object.c
index 5c8d183..d8c87ee 100644
--- a/src/object.c
+++ b/src/object.c
@@ -33,6 +33,7 @@ static struct obj_ops *obj_ops[__NFT_OBJECT_MAX] = {
[NFT_OBJECT_TUNNEL] = &obj_ops_tunnel,
[NFT_OBJECT_CT_TIMEOUT] = &obj_ops_ct_timeout,
[NFT_OBJECT_SECMARK] = &obj_ops_secmark,
+ [NFT_OBJECT_CT_EXPECT] = &obj_ops_ct_expect,
};
static struct obj_ops *nftnl_obj_ops_lookup(uint32_t type)