mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
allow bigger MTU record for sniffer
This commit is contained in:
@@ -510,9 +510,9 @@ enum {
|
|||||||
#define COMP_EXTRA 0
|
#define COMP_EXTRA 0
|
||||||
#endif
|
#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
|
#ifdef CYASSL_SNIFFER
|
||||||
#define MTU_EXTRA MAX_MTU
|
#define MTU_EXTRA MAX_MTU * 3
|
||||||
#else
|
#else
|
||||||
#define MTU_EXTRA 0
|
#define MTU_EXTRA 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user