Re: [PATCH nft 2/7] json: drop messages "warning: stmt ops chain have no json callback"

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

 



Thomas Haller <thaller@xxxxxxxxxx> wrote:
> This message purely depends on the internal callbacks and at the program
> code. This is not useful. What is the user going to do with this warning?

Report a bug.

> Maybe there is a bug here, but then we shouldn't print a warning but fix
> the bug.

How on earth do we do that, fix a bug before we know its there?

> For example, calling `nft -j list ruleset` after test "tests/shell/testcases/chains/0041chain_binding_0"
> will trigger messages like:
> 
>   warning: stmt ops chain have no json callback
>   warning: stmt ops chain have no json callback

That means that chain ops needs a bug fix as they do not support
json output?



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

  Powered by Linux