Extra fix for multiple IP's
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@103 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
6e3ef3a2a9
commit
bd74f3ff0f
1 changed files with 2 additions and 0 deletions
2
ddclient
2
ddclient
|
@ -2443,6 +2443,8 @@ sub nic_noip_update {
|
||||||
my @hosts = @{$groups{$sig}};
|
my @hosts = @{$groups{$sig}};
|
||||||
my $hosts = join(',', @hosts);
|
my $hosts = join(',', @hosts);
|
||||||
my $h = $hosts[0];
|
my $h = $hosts[0];
|
||||||
|
my $ip = $config{$h}{'wantip'};
|
||||||
|
delete $config{$_}{'wantip'} foreach @hosts;
|
||||||
|
|
||||||
info("setting IP address to %s for %s", $ip, $hosts);
|
info("setting IP address to %s for %s", $ip, $hosts);
|
||||||
verbose("UPDATE:","updating %s", $hosts);
|
verbose("UPDATE:","updating %s", $hosts);
|
||||||
|
|
Loading…
Reference in a new issue