Fix woima protocol implementation for
loop
This commit is contained in:
parent
43c0581334
commit
7a2d065a2d
1 changed files with 1 additions and 3 deletions
|
@ -4852,9 +4852,7 @@ sub nic_woima_update {
|
||||||
'nochg' => 'No update required; unnecessary attempts to change to the current address are considered abusive',
|
'nochg' => 'No update required; unnecessary attempts to change to the current address are considered abusive',
|
||||||
);
|
);
|
||||||
|
|
||||||
my @hosts = @_;
|
for my $h (@_) {
|
||||||
foreach my $key (keys @hosts) {
|
|
||||||
my $h = $hosts[$key];
|
|
||||||
my $ip = $config{$h}{'wantip'};
|
my $ip = $config{$h}{'wantip'};
|
||||||
delete $config{$h}{'wantip'};
|
delete $config{$h}{'wantip'};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue