]> git.ipfire.org Git - thirdparty/iptables.git/commit
ip6tables: Use consistent exit code for EAGAIN
authorKevin Cernekee <cernekee@gmail.com>
Sat, 2 Nov 2013 04:08:34 +0000 (21:08 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 3 Nov 2013 21:42:43 +0000 (22:42 +0100)
commit517495f85d84cd783a23ef56eced3670f6473a60
treee1a1cd67af735d2843018561a71287ad7d98ee82
parent9b3fd1352c9806ef5acc10f38b1131bc2f62b60c
ip6tables: Use consistent exit code for EAGAIN

As of commit 056564f6a (Add new exit value to indicate concurrency
issues), the IPv4 iptables binary returns exit status 4 to indicate that
the kernel returned EAGAIN when trying to update a table.  But ip6tables
still returns exit status 1 under the same circumstances.  Update
ip6tables to bring it in line with iptables behavior.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/ip6tables-standalone.c