]> git.ipfire.org Git - thirdparty/nftables.git/commit
doc: libnftables-json: make the example valid libnftables JSON input
authorŠtěpán Němec <snemec@redhat.com>
Mon, 11 Oct 2021 11:59:04 +0000 (13:59 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 11 Oct 2021 16:31:28 +0000 (18:31 +0200)
commitad5669a40381e8cc30c459c1a06a6f736677dfc6
treea6fc61cbfaf5354384ae2a92118ed856194ff13a
parent6bcd0d576a60d8a681cc6dd78551633f09534260
doc: libnftables-json: make the example valid libnftables JSON input

- Add missing comma between array elements.
- Fix chain 'name' property.
- Match 'op' property is mandatory.

Fixes: 2e56f533b36a ("doc: Improve example in libnftables-json(5)")
Fixes: 90d4ee087171 ("JSON: Make match op mandatory, introduce 'in' operator")
Signed-off-by: Štěpán Němec <snemec@redhat.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
doc/libnftables-json.adoc