allow bigger MTU record for sniffer

This commit is contained in:
toddouska 2012-07-20 13:04:03 -07:00
parent 6f2b1b90a9
commit 6d3c7d8c59
1 changed files with 2 additions and 2 deletions

View File

@ -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