Hi Tomasz and Patrik
On 03/06/2013 12:44 PM, Tomasz Bursztyka wrote:
Hi Daniel and Patrik,
On Wed, 2013-03-06 at 12:04 +0100, Daniel Wagner wrote:
The policy of a chain is the last element not the first one.
Isn't the default policy is applicable only for a builtin chain and is a
property of the table itself??
This patch does not make sense: there is no policy to be changed for a
non-builtin chain.
That's why chain-head was used and why, if not builtin, it was returning
an error.
Nack
Each builtin chain has a standard policy. This information is stored as
and ipt_entry + ipt_standard_target as _last_ entry in the list.
The orignal code assumes that the builtin chain is empty which is
obviously always the right assumption :). Anyway, I'll update this patch
so it only operations on builtin chains.
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman