From b13cd003b548575d6a46f416066dbce241f7d968 Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Sun, 2 Aug 2015 01:43:26 +0200
Subject: [PATCH] Fix syntax of ECNE and CWR chunks.

---
 gtests/net/packetdrill/parser.y | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gtests/net/packetdrill/parser.y b/gtests/net/packetdrill/parser.y
index 950f92a6..5f753b20 100644
--- a/gtests/net/packetdrill/parser.y
+++ b/gtests/net/packetdrill/parser.y
@@ -1262,13 +1262,13 @@ sctp_cookie_ack_chunk_spec
 }
 
 sctp_ecne_chunk_spec
-: ECNE '[' opt_flags opt_tsn ']' {
-	$$ = sctp_ecne_chunk_new($3, $4);
+: ECNE '[' opt_flags ',' opt_tsn ']' {
+	$$ = sctp_ecne_chunk_new($3, $5);
 }
 
 sctp_cwr_chunk_spec
-: CWR '[' opt_flags opt_tsn ']' {
-	$$ = sctp_cwr_chunk_new($3, $4);
+: CWR '[' opt_flags ',' opt_tsn ']' {
+	$$ = sctp_cwr_chunk_new($3, $5);
 }
 
 sctp_shutdown_complete_chunk_spec
-- 
GitLab