From 4ca0917b252003951e9e53b6f9434ecec1ad46ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20T=C3=BCxen?= <tuexen@fh-muenster.de>
Date: Tue, 13 Oct 2015 21:47:09 +0200
Subject: [PATCH] Use the _expr structure. Catched by NetBSD compilation.

---
 gtests/net/packetdrill/parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtests/net/packetdrill/parser.y b/gtests/net/packetdrill/parser.y
index 6239ff26..69eb748a 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;
-- 
GitLab