From f7824f63ae45c4979abe95fd3e7702eacd63bec1 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 5 Feb 2012 21:03:43 +0100 Subject: conntrackd: add support expectation class synchronization This patch adds support for synchronizing the expectation class. Signed-off-by: Pablo Neira Ayuso --- src/build.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/build.c') 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); } -- cgit v1.2.3