diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-23 10:36:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-23 11:54:50 +0100 |
commit | 4dfb5b2010917da3f9f11c83931069931a7d6fb3 (patch) | |
tree | 992eebd0976b9c732c71275aba770c7db081e0a5 /tests/shell/run-tests.sh | |
parent | faa6908fad6053ae9549c45b88d0402cc69cf1ed (diff) |
json: deal appropriately with multidevice in chain
Chain device support is broken in JSON: listing does not include devices
and parser only deals with one single device.
Use existing json_parse_flowtable_devs() function, rename it to
json_parse_devs() to parse the device array.
Use the dev_array that contains the device names (as string) for the
listing.
Update incorrect .json-nft files in tests/shell.
Fixes: 3fdc7541fba0 ("src: add multidevice support for netdev chain")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/run-tests.sh')
0 files changed, 0 insertions, 0 deletions