Remove incomplete check for IPv6 link-local addresses.
authorLandon Fuller <landonf@bikemonkey.org>
Sun, 24 Feb 2013 03:32:25 +0000 (22:32 -0500)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 2 Mar 2013 07:38:54 +0000 (08:38 +0100)
This has been superceded by a check for link-local
addresses in get_interfaces()

Signed-Off-By: Landon Fuller <landonf@bikemonkey.org>
Reviewed-By: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Mar  2 08:38:54 CET 2013 on sn-devel-104

source4/scripting/bin/samba_dnsupdate

index a5cece1333659b680e731a979153bf6fdb45cfac..33c16ecd00f4f9ff0a4ea819ff728ea26a13a611 100755 (executable)
@@ -96,9 +96,7 @@ IP6s = []
 IP4s = []
 for i in IPs:
     if i.find(':') != -1:
-        if i.find('%') == -1:
-            # we don't want link local addresses for DNS updates
-            IP6s.append(i)
+        IP6s.append(i)
     else:
         IP4s.append(i)