]> git.meshlink.io Git - utcp/blobdiff - test.c
Distinguish between MTU and MSS.
[utcp] / test.c
diff --git a/test.c b/test.c
index e04e17bec2e6e7cfb5154bc59aaa9e4fcb4142f6..300ce51e4d3a0cb8f636038a7ca8b766f4c7e39c 100644 (file)
--- a/test.c
+++ b/test.c
@@ -159,7 +159,7 @@ static void set_mtu(struct utcp *u, int s) {
 
        debug("Using MTU %lu\n", mtu);
 
-       utcp_set_mtu(u, mtu ? mtu - 48 : 1300);
+       utcp_set_mtu(u, mtu ? mtu - 28 : 1300);
 }
 
 int main(int argc, char *argv[]) {