Re: [PATCH nftables 1/2] monitor: add assignment check for json_echo

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

 



On Sun, Dec 06, 2020 at 11:12:33AM +0100, Jose M. Guisado Gomez wrote:
> When --echo and --json is specified and native syntax is read, only the
> last instruction is printed. This happens because the reference to the
> json_echo is reassigned each time netlink_echo_callback is executed for
> an instruction to be echoed.
> 
> Add an assignment check for json_echo to avoid reassigning it.

Applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux