summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLandon Fuller <landonf@bikemonkey.org>2013-02-23 22:32:25 -0500
committerAndrew Bartlett <abartlet@samba.org>2013-03-02 08:38:54 +0100
commit2cfbfa6337675d13a9abc4c0426886beeff3134f (patch)
tree02bb902ba5e91ffe8d3044a71b1be0cf61b15f00
parent87afc3aee1ea593069322a49355dd8780d99e123 (diff)
downloadsamba-2cfbfa6337675d13a9abc4c0426886beeff3134f.tar.gz
samba-2cfbfa6337675d13a9abc4c0426886beeff3134f.tar.bz2
samba-2cfbfa6337675d13a9abc4c0426886beeff3134f.zip
Remove incomplete check for IPv6 link-local addresses.
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
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index a5cece1333..33c16ecd00 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -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)