correct size for Ack block with ranges

This commit is contained in:
orignal 2022-06-03 19:16:52 -04:00
parent 1ccbb8d10b
commit 321ec8ae4d

View File

@ -1487,7 +1487,7 @@ namespace transport
}
buf[7] = acnt; // acnt
htobe16buf (buf + 1, 5 + numRanges*2);
return 8;
return 8 + numRanges*2;
}
size_t SSU2Session::CreatePaddingBlock (uint8_t * buf, size_t len, size_t minSize)