Re: [libnftnl PATCH] src: chain: Fix nftnl_chain_rule_insert_at()

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

 



On Mon, Jan 14, 2019 at 05:42:50PM +0100, Phil Sutter wrote:
> Extrapolating from iptables nomenclature, one would expect that "insert"
> means to prepend the new item to the referenced one, not append. Change
> nftnl_chain_rule_insert_at() to do just that and introduce
> nftnl_chain_rule_append_at() to insert a rule after the referenced one.
> 
> Signed-off-by: Phil Sutter <phil@xxxxxx>
> ---
> Given that per chain rule API has not yet made it into a release, I
> guess we can still do that. If not, please feel free to reject and I'll
> add two symbols with new names for insert/append operations and leave
> the existing code alone.

Thanks fine. Applied, thanks.



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

  Powered by Linux