diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-15 10:54:50 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-15 21:47:38 +1100 |
commit | deaf7e5995c5120a8009dcd90e17f7e0678d1206 (patch) | |
tree | 55018f1116d28350b8c9439e523f7483f3e50596 /source4/scripting | |
parent | 1e29ee3a70151ca830f5523834d1f669fd8d0a82 (diff) | |
download | samba-deaf7e5995c5120a8009dcd90e17f7e0678d1206.tar.gz samba-deaf7e5995c5120a8009dcd90e17f7e0678d1206.tar.bz2 samba-deaf7e5995c5120a8009dcd90e17f7e0678d1206.zip |
s4-dns: fixed registration of multiple IPs in samba_dnsupdate
bitten by python object references again!
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/samba_dnsupdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index 072f818a5d..6a20173a14 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -360,7 +360,7 @@ for d in dns_list: if d.type == 'A' and d.ip == "$IP": d.ip = IPs[0] for i in range(len(IPs)-1): - d2 = d + d2 = dnsobj(str(d)) d2.ip = IPs[i+1] dns_list.append(d2) |