Skip to content
Snippets Groups Projects
Commit 4ca0917b authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Use the _expr structure. Catched by NetBSD compilation.

parent bcc2a66b
No related branches found
No related tags found
No related merge requests found
...@@ -3172,7 +3172,7 @@ sinfo_cumtsn ...@@ -3172,7 +3172,7 @@ sinfo_cumtsn
sctp_sndrcvinfo sctp_sndrcvinfo
: '{' sinfo_stream ',' sinfo_ssn ',' sinfo_flags ',' sinfo_ppid ',' sinfo_context ',' sinfo_timetolive ',' sinfo_tsn ',' sinfo_cumtsn '}' { : '{' sinfo_stream ',' sinfo_ssn ',' sinfo_flags ',' sinfo_ppid ',' sinfo_context ',' sinfo_timetolive ',' sinfo_tsn ',' sinfo_cumtsn '}' {
$$ = new_expression(EXPR_SCTP_SNDRCVINFO); $$ = 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_stream = $2;
$$->value.sctp_sndrcvinfo->sinfo_ssn = $4; $$->value.sctp_sndrcvinfo->sinfo_ssn = $4;
$$->value.sctp_sndrcvinfo->sinfo_flags = $6; $$->value.sctp_sndrcvinfo->sinfo_flags = $6;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment