1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4-ipv6: don't add link local addresses to DNS

these make no sense as DNS addresses
This commit is contained in:
Andrew Tridgell 2011-06-03 11:43:09 +10:00
parent b34013d537
commit c4e43f9dff

View File

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