diff --git a/gtests/net/packetdrill/parser.y b/gtests/net/packetdrill/parser.y index 6239ff2647b6a6627fbe4a3a4bcc3b6394a84fa5..69eb748a82df093f308bf8057bcc4992309afebf 100644 --- a/gtests/net/packetdrill/parser.y +++ b/gtests/net/packetdrill/parser.y @@ -3172,7 +3172,7 @@ sinfo_cumtsn sctp_sndrcvinfo : '{' sinfo_stream ',' sinfo_ssn ',' sinfo_flags ',' sinfo_ppid ',' sinfo_context ',' sinfo_timetolive ',' sinfo_tsn ',' sinfo_cumtsn '}' { $$ = new_expression(EXPR_SCTP_SNDRCVINFO); - $$->value.sctp_sndrcvinfo = calloc(1, sizeof(struct sctp_sndrcvinfo)); + $$->value.sctp_sndrcvinfo = calloc(1, sizeof(struct sctp_sndrcvinfo_expr)); $$->value.sctp_sndrcvinfo->sinfo_stream = $2; $$->value.sctp_sndrcvinfo->sinfo_ssn = $4; $$->value.sctp_sndrcvinfo->sinfo_flags = $6;