1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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
This commit is contained in:
Landon Fuller 2013-02-23 22:32:25 -05:00 committed by Andrew Bartlett
parent 87afc3aee1
commit 2cfbfa6337

View File

@ -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)