diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-06 21:54:24 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-06 21:54:24 +0100 |
commit | 567222194512c6d42c7e253fc69c3837fe7b078c (patch) | |
tree | b410da7e24920b6150c5aea5e83b6db63fe7d2eb /src | |
parent | 3ab102a8c26ad3f5db61f509eb5e478e95922fbf (diff) | |
download | conntrack-tools-567222194512c6d42c7e253fc69c3837fe7b078c.tar.gz conntrack-tools-567222194512c6d42c7e253fc69c3837fe7b078c.zip |
build: do not include NTA_TIMEOUT in the replication messages
With this patch, NTA_TIMEOUT is not included in the replication
messages anymore. During the fail-over, we set a small timeout
to purge the entries that were not recovered successfully
(however, unsuccessful recovery should not happen ever).
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c index c776de8..84515cf 100644 --- a/src/build.c +++ b/src/build.c @@ -117,8 +117,6 @@ void build_netpld(struct nf_conntrack *ct, struct netpld *pld, int query) if (nfct_attr_is_set(ct, ATTR_TCP_STATE)) __build_u8(ct, ATTR_TCP_STATE, pld, NTA_STATE); - if (nfct_attr_is_set(ct, ATTR_TIMEOUT)) - __build_u32(ct, ATTR_TIMEOUT, pld, NTA_TIMEOUT); if (nfct_attr_is_set(ct, ATTR_MARK)) __build_u32(ct, ATTR_MARK, pld, NTA_MARK); |