diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fragmentation/test_fragmentation.c | 4 |
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], |