dondominio: Fix service response treatment

This commit is contained in:
Toni Wiki 2024-03-28 12:56:09 +01:00
parent 981dd5f333
commit e6e0072e8d

View file

@ -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';