summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-09-11 16:19:41 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-09-11 16:19:41 +0200
commit189dbc5853ce73448ca0d2423bbac3aa23712478 (patch)
tree21599062fa75ef75bf360b01072cce8e810f192b /include
parent49540362b2a25aadbaf25fd087414776aa5a67a8 (diff)
downloadconntrack-tools-189dbc5853ce73448ca0d2423bbac3aa23712478.tar.gz
conntrack-tools-189dbc5853ce73448ca0d2423bbac3aa23712478.zip
conntrackd: fix MTU for TCP channels
Use the TCP header size (20 bytes) instead of the UDP header size (8 bytes) to calculate the maximum packet size. Reported-by: Samuel Gauthier <samuel.gauthier@6wind.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/channel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/channel.h b/include/channel.h
index 98605d9..d06e510 100644
--- a/include/channel.h
+++ b/include/channel.h
@@ -52,6 +52,7 @@ struct channel_conf {
struct nlif_handle;
struct channel_ops {
+ int headersiz;
void * (*open)(void *conf);
void (*close)(void *channel);
int (*send)(void *channel, const void *data, int len);