Re: [libnftnl PATCH] examples: Replace use of deprecated symbols

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

 



On Wed, Dec 04, 2019 at 03:49:30PM +0100, Phil Sutter wrote:
> Do not use unqualified setters to avoid the warnings. Pass a (false)
> zero length value to nftnl_flowtable_set_data() when assigning to
> NFTNL_FLOWTABLE_DEVICES as the length value is unused and not even
> usable. Maybe one should introduce a dedicated
> nftnl_flowtable_set_devices() at a later point.
> 
> Fixes: 7349a70634fa0 ("Deprecate untyped data setters")
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>



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

  Powered by Linux