ctdb-scripts: New functions ip6tables() and iptables_wrapper()
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Nov 2014 03:39:43 +0000 (14:39 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Dec 2014 20:02:40 +0000 (21:02 +0100)
commitc314ae0b2af4a902cdd003ec6d663fe5b62b003b
treeeead9c791875713339ea52ec7e59e175b1658788
parented029ae0a1faa56bf882a71d10828e2a90ab0bc7
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>
ctdb/config/functions