From: Pablo Neira Ayuso Date: Mon, 1 Jul 2019 17:49:06 +0000 (+0200) Subject: parser_bison: do not enforce semicolon from ct helper block X-Git-Tag: v0.9.2~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3d344ea062b7f9ca45051e895388b88342fedd3;p=thirdparty%2Fnftables.git parser_bison: do not enforce semicolon from ct helper block Use the statement separator rule, since newline is also valid. Fixes: c7c94802679c ("src: add ct timeout support") Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/parser_bison.y b/src/parser_bison.y index 4f2e3475..153ef326 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -3516,7 +3516,7 @@ timeout_state : STRING COLON NUM } ; -ct_timeout_config : PROTOCOL ct_l4protoname SEMICOLON +ct_timeout_config : PROTOCOL ct_l4protoname stmt_separator { struct ct_timeout *ct; int l4proto = $2;