Re: [PATCH v4 11/11] iptables: find_chain_tail should return last entry

2013-03-08 Thread Tomasz Bursztyka
Le 07/03/2013 16:45, Daniel Wagner a écrit : On 03/07/2013 03:33 PM, Patrik Flykt wrote: On Thu, 2013-03-07 at 14:35 +0100, Daniel Wagner wrote: Currently, find_chain_tail() returns the element after the chain end. Let's keep it the old way until there is a real reason to do something else.

Re: [PATCH v4 11/11] iptables: find_chain_tail should return last entry

2013-03-08 Thread Daniel Wagner
Hi Tomasz, On 03/08/2013 09:09 AM, Tomasz Bursztyka wrote: Le 07/03/2013 16:45, Daniel Wagner a écrit : On 03/07/2013 03:33 PM, Patrik Flykt wrote: On Thu, 2013-03-07 at 14:35 +0100, Daniel Wagner wrote: Currently, find_chain_tail() returns the element after the chain end. Let's keep it

[PATCH v4 11/11] iptables: find_chain_tail should return last entry

2013-03-07 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Currently, find_chain_tail() returns the element after the chain end. With returning the real end of chain, the code gets more readable. --- src/iptables.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff

Re: [PATCH v4 11/11] iptables: find_chain_tail should return last entry

2013-03-07 Thread Daniel Wagner
On 03/07/2013 03:33 PM, Patrik Flykt wrote: On Thu, 2013-03-07 at 14:35 +0100, Daniel Wagner wrote: Currently, find_chain_tail() returns the element after the chain end. Let's keep it the old way until there is a real reason to do something else. If it ain't broken, let's not fix it (yet).