Update ddclient.in

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Serrallonga25 2022-10-28 09:34:12 +02:00 committed by GitHub
parent b59a5c93aa
commit 2e0e465cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5559,8 +5559,13 @@ sub dinamico_cdmon_update {
$msg .= sprintf " : sent IP address %s", $ip;
}
if (exists $params->{'newip'}) {$newip = $params->{'newip'}; $msg .= sprintf " :IP address set to newip:%s", $newip;}
if (exists $params->{'temps'}) {$msg .= sprintf ", the changes will not be operational until after %d minutes", int(int($params->{'temps'})/60000);}
if (exists $params->{'newip'}) {
$newip = $params->{'newip'};
$msg .= sprintf " :IP address set to newip:%s", $newip;
}
if (exists $params->{'temps'}) {
$msg .= sprintf ", the changes will not be operational until after %d minutes", int(int($params->{'temps'})/60000);
}
$config{$h}{'ip'} = $newip;
$config{$h}{'mtime'} = $now;