diff --git a/gtests/net/packetdrill/sctp_packet.c b/gtests/net/packetdrill/sctp_packet.c index c84be0ee906e917e11c9572f597ae13f06263ca4..b948e3a846ee9672fbc03c2d063fa6df4c16be6e 100644 --- a/gtests/net/packetdrill/sctp_packet.c +++ b/gtests/net/packetdrill/sctp_packet.c @@ -3618,7 +3618,7 @@ new_sctp_generic_packet(int address_family, if (encapsulate) { packet->sctp = (struct sctp_common_header *) (ip_start(packet) + ip_header_bytes + udp_header_bytes); } else { - packet->sctp = (struct sctp_common_header *) (ip_start(packet) + udp_header_bytes); + packet->sctp = (struct sctp_common_header *) (ip_start(packet) + ip_header_bytes); } u8 *sctp_chunk_start = (u8 *) (packet->sctp + 1);