Re: [PATCH nft] json: fix json_events_cb() declaration when libjansson is not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 31, 2018 at 12:54:18PM +0100, Laura Garcia Liebana wrote:
> 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.

Applied, thanks Laura.



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux