iptables: Fix setting policy
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 6 Mar 2013 15:08:53 +0000 (16:08 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 7 Mar 2013 08:07:11 +0000 (10:07 +0200)
commitcbfa3977195dd62ba135e075513cf32c7318ea12
treeeea1ab689657f590a7cb85fb948876d02af76fbe
parentcc660f84f8cceca1586daf84f99b2ad39f87523d
iptables: Fix setting policy

The policy is kept at the end of the chain not at the beginning.
Currently, the code assumes that the builtin chain is empty.
src/iptables.c