diff --git a/gtests/net/packetdrill/run_packet.c b/gtests/net/packetdrill/run_packet.c index 0949c1e26a17c6f9770aa79d39f99b76d5113b46..56fd664b00fbcb57afc1a4cb433206c71185fb1f 100644 --- a/gtests/net/packetdrill/run_packet.c +++ b/gtests/net/packetdrill/run_packet.c @@ -783,10 +783,10 @@ static int map_inbound_sctp_packet( struct sctp_reconfig_response_parameter *response; response = (struct sctp_reconfig_response_parameter *)parameter; response->respsn = htonl(htonl(response->respsn) + local_diff); - if (htons(response->length) >= 12) { + if (htons(response->length) >= 16) { response->receiver_next_tsn = htonl(htonl(response->receiver_next_tsn) + local_diff); } - if (htons(response->length) >= 16) { + if (htons(response->length) >= 20) { response->sender_next_tsn = htonl(htonl(response->sender_next_tsn) + remote_diff); } break;