diff --git a/gtests/net/packetdrill/parser.y b/gtests/net/packetdrill/parser.y index 85175124426399c4038684b343d2655bb8952376..e8b38dd18d64ca51883daeb5927df04efe35280a 100644 --- a/gtests/net/packetdrill/parser.y +++ b/gtests/net/packetdrill/parser.y @@ -3058,7 +3058,7 @@ sctp_sndinfo sctp_setadaptation : '{' SSB_ADAPTATION_IND '=' INTEGER '}' { $$ = new_expression(EXPR_SCTP_SETADAPTATION); - $$->value.sctp_setadaptation = calloc(1, sizeof(struct sctp_setadaptation)); + $$->value.sctp_setadaptation = calloc(1, sizeof(struct sctp_setadaptation_expr)); if (!is_valid_u32($4)) { semantic_error("ssb_adaptation_ind out of range"); }