]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
JSON: remove incorrect config value check
authorJeremy Sowden <jeremy@azazel.net>
Sat, 3 Dec 2022 19:02:11 +0000 (19:02 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 8 Dec 2022 20:55:21 +0000 (21:55 +0100)
commit2ae7a3f96563c6cf3ea21445e7958314b6ca20fb
treefd7161d47ccad2d711985d7ff542fa0dcdc81196
parent49f6def6fcbaf01f395fbe00543a9ab2c4bb106e
JSON: remove incorrect config value check

The `u.string` member of a config entry is an array, and so never `NULL`.
Output the device string unconditionally.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
output/ulogd_output_JSON.c