summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2011-07-26 22:53:38 +0000
committerDavid Brodski <david@brodski.eu>2011-07-26 22:53:38 +0000
commit4b05e36936d22d82c554519d540d92f4823ca885 (patch)
tree7640f8e5ea156fcfb63a166d75c4fd4ae4128184 /src
parent7b53e3b84e26a63562373d61a555eb71405a9b11 (diff)
Changed test to reflect smaller mtu
Diffstat (limited to 'src')
-rw-r--r--src/fragmentation/test_fragmentation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fragmentation/test_fragmentation.c b/src/fragmentation/test_fragmentation.c
index 70fd84944..4415664a4 100644
--- a/src/fragmentation/test_fragmentation.c
+++ b/src/fragmentation/test_fragmentation.c
@@ -32,7 +32,7 @@
/**
* Number of messages to transmit (note: each uses ~32k memory!)
*/
-#define NUM_MSGS 500
+#define NUM_MSGS 5000
/**
* MTU to force on fragmentation (must be > 1k + 12)
@@ -208,7 +208,7 @@ run (void *cls,
for (i=0;i<NUM_MSGS;i++)
{
msg->type = htons ((uint16_t) i);
- msg->size = htons (MTU + 1 + (17 * i) % (32 * 1024));
+ msg->size = htons ( 1 + (17 * i) % (32 * 1024));
frags[i] = GNUNET_FRAGMENT_context_create (NULL /* no stats */,
MTU,
&trackers[i],