From c4e43f9dff108f762eb1f7271ddb896b9b22e478 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 Jun 2011 11:43:09 +1000 Subject: s4-ipv6: don't add link local addresses to DNS these make no sense as DNS addresses --- source4/scripting/bin/samba_dnsupdate | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index cefe3ce859..c82e06bb6f 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -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) -- cgit