summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2024-02-26 10:34:59 +0100
committerFlorian Westphal <fw@strlen.de>2024-02-26 13:01:07 +0100
commite4f59f2dc68fb2e6d62a6c37e04366a8ebd199cf (patch)
tree09cedca1a3a4267ca9a766f748e4eabffd4e2f37 /src/parser_bison.y
parenta31d3cc48354bd5c6fc7090a6b8ae01bce3ba4fa (diff)
parser_json: allow 0 offsets again
Its valid in case of tcp option removal: [ { "reset": { "tcp option": { "base": 123, "len": 0, "offset": 0 } This makes nft-test.py -j pass again. Fixes: e08627257ecf ("parser: reject raw payload expressions with 0 length") Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions