diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2018-10-31 12:54:18 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-31 15:52:06 +0100 |
commit | f2f3fbc07b37f993c6a4f978f8f13cfeb578093d (patch) | |
tree | 5285139071d00c19fe15a440cd09c341c5723916 /files | |
parent | 0be220271d6991b3e7178528be208dbb253dabe9 (diff) |
json: fix json_events_cb() declaration when libjansson is not present
When nftables is configured without libjansson support, the following
compilation error is shown:
monitor.c: In function ‘netlink_echo_callback’:
monitor.c:910:10: error: too many arguments to function ‘json_events_cb’
return json_events_cb(nlh, &echo_monh);
^~~~~~~~~~~~~~
This patch makes a declaration of the json_events_cb() function
consistent.
Fixes: bb32d8db9a12 ("JSON: Add support for echo option")
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files')
0 files changed, 0 insertions, 0 deletions