use new StringReader interface

This commit is contained in:
Martin Michelsen
2022-03-15 22:43:31 -07:00
parent 46a99b50b6
commit 8a141c58be
+1 -1
View File
@@ -513,7 +513,7 @@ void IPStackSimulator::on_client_tcp_frame(
if (option_size != 4) {
throw runtime_error("incorrect size for TCP max frame size option");
}
max_frame_size = options_r.get_u16r();
max_frame_size = options_r.get_u16b();
break;
case 3: // Window scale (ignored)
if (option_size != 3) {