Re: [iptables PATCH] xtables: Make 'iptables -S nonexisting' return non-zero

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

 



On Thu, Aug 16, 2018 at 06:07:07PM +0200, Phil Sutter wrote:
> To be consistent with legacy iptables, calling -S with a non-existing
> chain should lead to an error message. This is how some scripts find out
> whether a user-defined chain exists or not.
> 
> Make sure doing the same for an existing chain does succeed, even if an
> invalid rule number was given.

Applied, thanks.



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

  Powered by Linux