From 189dbc5853ce73448ca0d2423bbac3aa23712478 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 11 Sep 2009 16:19:41 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/channel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/channel.h') 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); -- cgit v1.2.3