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:
parent
b34013d537
commit
c4e43f9dff
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user