dondominio: Fix service response treatment
This commit is contained in:
parent
981dd5f333
commit
e6e0072e8d
1 changed files with 1 additions and 1 deletions
|
@ -6935,7 +6935,7 @@ sub nic_dondominio_update {
|
|||
|
||||
my @reply = split /\n/, $reply;
|
||||
my $returned = pop(@reply);
|
||||
if ($returned =~ /OK/) {
|
||||
if ($returned =~ /OK/ || $returned =~ /IP:$ip/) {
|
||||
$config{$h}{'ip'} = $ip;
|
||||
$config{$h}{'mtime'} = $now;
|
||||
$config{$h}{'status'} = 'good';
|
||||
|
|
Loading…
Reference in a new issue