From 6d3c7d8c59b9b7a26ab20a5f163f7d4077ed8686 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 20 Jul 2012 13:04:03 -0700 Subject: [PATCH] allow bigger MTU record for sniffer --- cyassl/internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyassl/internal.h b/cyassl/internal.h index 2cb84df92..1828da6c5 100644 --- a/cyassl/internal.h +++ b/cyassl/internal.h @@ -510,9 +510,9 @@ enum { #define COMP_EXTRA 0 #endif -/* only the sniffer needs space in the buffer for an extra MTU record */ +/* only the sniffer needs space in the buffer for extra MTU record(s) */ #ifdef CYASSL_SNIFFER - #define MTU_EXTRA MAX_MTU + #define MTU_EXTRA MAX_MTU * 3 #else #define MTU_EXTRA 0 #endif