Re: [iptables PATCH 1/2] tests: iptables-test: Properly assert rule deletion errors

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

 



On Tue, Nov 05, 2024 at 09:36:10PM +0100, Phil Sutter wrote:
> Capture any non-zero return code, iptables not necessarily returns 1 on
> error.
> 
> A known issue with trying to delete a rule by spec is the unsupported
> --set-counters option. Strip it before deleting the rule.
> 
> Fixes: c8b7aaabbe1fc ("add iptables unit test infrastructure")
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Series applied.




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

  Powered by Linux