summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-02-05 21:03:43 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-07 00:26:59 +0100
commitf7824f63ae45c4979abe95fd3e7702eacd63bec1 (patch)
treea35c40545b4d9fa01fc91ae820bfe59a041b9586 /src/parse.c
parent1e70249a665aa611b3547233952f8f9bb51369f8 (diff)
downloadconntrack-tools-f7824f63ae45c4979abe95fd3e7702eacd63bec1.tar.gz
conntrack-tools-f7824f63ae45c4979abe95fd3e7702eacd63bec1.zip
conntrackd: add support expectation class synchronization
This patch adds support for synchronizing the expectation class. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index 81e9c6b..f1fd628 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -341,6 +341,11 @@ static struct exp_parser {
.exp_attr = ATTR_EXP_FLAGS,
.size = NTA_SIZE(sizeof(uint32_t)),
},
+ [NTA_EXP_CLASS] = {
+ .parse = exp_parse_u32,
+ .exp_attr = ATTR_EXP_CLASS,
+ .size = NTA_SIZE(sizeof(uint32_t)),
+ },
};
static void exp_parse_ct_group(void *ct, int attr, void *data)