allow snifftest to handle jumbo frames + potential partial 16k record from previous data packet on the stack
This commit is contained in:
parent
98c6e3f3af
commit
a0d4c34900
@ -273,7 +273,7 @@ int main(int argc, char** argv)
|
||||
packetNumber++;
|
||||
if (packet) {
|
||||
|
||||
byte data[65535];
|
||||
byte data[65535+16384]; /* may have a partial 16k record cached */
|
||||
|
||||
if (header.caplen > 40) { /* min ip(20) + min tcp(20) */
|
||||
packet += frame;
|
||||
|
Loading…
Reference in New Issue
Block a user