diff options
author | Florian Westphal <fw@strlen.de> | 2022-02-07 14:09:28 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-02-07 14:56:26 +0100 |
commit | da6cb40177dae41fb7b4a3418dd728fd6f894f2d (patch) | |
tree | 31d25e96cfad7bdf79d5ad5d249516abd3dc4949 /include/xt.h | |
parent | c6a5e81c2123c9ee61be152ab620e7e74f5a75ef (diff) |
parser_json: permit empty device list
Normal input parser allows flowtables without 'devices' token, which
makes the json export part elide 'dev' entirely, this then breaks on
re-import:
$ nft -j -f json.dump
/tmp/json_1:1:14-14: Error: Object item not found: dev
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/xt.h')
0 files changed, 0 insertions, 0 deletions