diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-14 11:04:37 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-14 11:14:31 +0100 |
commit | d3cace26609253a8e3f20aeb8693f37d63897a7e (patch) | |
tree | 2fb7960ccecec13b6a8385f3782a3230310b5103 /src/libnftables.c | |
parent | 3bf7fb7824c9ce68f607ee07c933cdb9e1a8f2c7 (diff) |
parser_bison: no need for statement separator for ct object commands
Otherwise, this forces user to place a double semi-colon to skip a
parser error in a multi-line commands:
# nft add "ct helper ip filter test { type \"ftp\" protocol tcp; };add rule filter test ct helper set \"ftp\""
Error: syntax error, unexpected add, expecting end of file or newline or semicolon
add ct helper ip filter test { type "ftp" protocol tcp; };add rule filter test ct helper set "ftp"
^^^
Reported-by: Laura Garcia <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.c')
0 files changed, 0 insertions, 0 deletions