From 6be4898b78e8671da45f7fb4875d832bfb7ef5b8 Mon Sep 17 00:00:00 2001 From: Landon Fuller Date: Sat, 23 Feb 2013 22:32:25 -0500 Subject: [PATCH] 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 Reviewed-By: Richard Sharpe --- source4/scripting/bin/samba_dnsupdate | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index a5cece1..33c16ec 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) -- 1.7.4.4