ctdb-scripts: New functions ip6tables() and iptables_wrapper()
commit231fab1886bead4c952e8300a22361c0a3378031
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Nov 2014 03:39:43 +0000 (21 14:39 +1100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Dec 2014 19:56:09 +0000 (10 20:56 +0100)
tree548a5a76b1c0c0468a14f4276c24eb1d4ad12f67
parentfd796e65dcf581366752239d67f3c9438a7f995d
ctdb-scripts: New functions ip6tables() and iptables_wrapper()

ip6tables() uses the same lock as iptables().  This is done on
suspicion.

iptables_wrapper() takes 1st argument "inet" or "inet6", and the rest
is passed to the correct iptables variant.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c314ae0b2af4a902cdd003ec6d663fe5b62b003b)
ctdb/config/functions