summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-09-23 15:18:30 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-09-23 15:18:30 +0200
commitda1160ad2c6e05c9e5594e17e5e35cbb461871e4 (patch)
tree42de1391d675a40ecf395e5fa2da3334aaba2c57 /include
parentfc61453d3f30b440e04bb6b3781e1e2348c85cfb (diff)
downloadconntrack-tools-da1160ad2c6e05c9e5594e17e5e35cbb461871e4.tar.gz
conntrack-tools-da1160ad2c6e05c9e5594e17e5e35cbb461871e4.zip
conntrackd: fix re-connect with multiple TCP channels
This patch fixes a bug in the TCP support that breaks re-connections of the client side if several TCP channels are used in the configuration file. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tcp.h b/include/tcp.h
index 1b1d391..2f0fd0a 100644
--- a/include/tcp.h
+++ b/include/tcp.h
@@ -49,6 +49,7 @@ struct tcp_sock {
} addr;
socklen_t sockaddr_len;
struct tcp_stats stats;
+ struct tcp_conf *conf;
};
struct tcp_sock *tcp_server_create(struct tcp_conf *conf);