From 3430448fc01ce3fbe0606a2c239d3c98a5b78361 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 30 Aug 2013 15:18:44 +0200 Subject: python/provision: remove unused linklocal=False argument from interface_ips_v6() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Metzmacher Reviewed-by: Bjoern Jacke Autobuild-User(master): Björn Jacke Autobuild-Date(master): Fri Aug 30 17:33:58 CEST 2013 on sn-devel-104 --- python/samba/provision/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index a84b92ff49..89f029a2af 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -1705,12 +1705,12 @@ def interface_ips_v4(lp): return ret -def interface_ips_v6(lp, linklocal=False): +def interface_ips_v6(lp): """return only IPv6 IPs""" ips = samba.interface_ips(lp, False) ret = [] for i in ips: - if i.find(':') != -1 and (linklocal or i.find('%') == -1): + if i.find(':') != -1: ret.append(i) return ret @@ -2007,7 +2007,7 @@ def provision(logger, session_info, credentials, smbconf=None, if hostip6 is None: logger.info("Looking up IPv6 addresses") - hostips = interface_ips_v6(lp, linklocal=False) + hostips = interface_ips_v6(lp) if hostips: hostip6 = hostips[0] if len(hostips) > 1: -- cgit