allow snifftest to handle jumbo frames + potential partial 16k record from previous data packet on the stack

This commit is contained in:
toddouska 2014-03-20 15:34:20 -07:00
parent 98c6e3f3af
commit a0d4c34900

View File

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