diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-05 21:03:43 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-07 00:26:59 +0100 |
commit | f7824f63ae45c4979abe95fd3e7702eacd63bec1 (patch) | |
tree | a35c40545b4d9fa01fc91ae820bfe59a041b9586 /src/build.c | |
parent | 1e70249a665aa611b3547233952f8f9bb51369f8 (diff) | |
download | conntrack-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/build.c')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c index 3193884..b845e0b 100644 --- a/src/build.c +++ b/src/build.c @@ -322,4 +322,6 @@ void exp2msg(const struct nf_expect *exp, struct nethdr *n) exp_build_u32(exp, ATTR_EXP_TIMEOUT, n, NTA_EXP_TIMEOUT); exp_build_u32(exp, ATTR_EXP_FLAGS, n, NTA_EXP_FLAGS); + if (nfexp_attr_is_set(exp, ATTR_EXP_CLASS)) + exp_build_u32(exp, ATTR_EXP_CLASS, n, NTA_EXP_CLASS); } |