From 3aa720fe1fecd7ba90898ac0246f160921528312 Mon Sep 17 00:00:00 2001 From: Adrien Beraud Date: Tue, 23 May 2017 17:59:05 +0200 Subject: [PATCH] python/cluster: bind on ::0 by default on IPv6 --- python/tools/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tools/cluster.py b/python/tools/cluster.py index 932b21ba..0822a54d 100755 --- a/python/tools/cluster.py +++ b/python/tools/cluster.py @@ -43,7 +43,7 @@ class NodeCluster(object): @staticmethod def find_ip(iface): if not iface or iface == 'any': - return ('0.0.0.0','') + return ('0.0.0.0','::0') if_ip4 = netifaces.ifaddresses(iface)[netifaces.AF_INET][0]['addr'] if_ip6 = netifaces.ifaddresses(iface)[netifaces.AF_INET6][0]['addr']