infomaniak: Fix mtime
update
`mtime` should always be updated whenever the IP address is updated, otherwise ddclient will keep force updating over and over.
This commit is contained in:
parent
61577d29ae
commit
0cde2e3f96
2 changed files with 3 additions and 1 deletions
|
@ -81,6 +81,8 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
|
|||
[#670](https://github.com/ddclient/ddclient/pull/670)
|
||||
* Fixed DNSExit provider when configured with a zone and non-identical
|
||||
hostname. [#673](https://github.com/ddclient/ddclient/issues/673)
|
||||
* `infomaniak`: Fixed frequent forced updates after 25 days (`max-interval`).
|
||||
[#691](https://github.com/ddclient/ddclient/issues/691)
|
||||
|
||||
## 2023-11-23 v3.11.2
|
||||
|
||||
|
|
|
@ -8042,7 +8042,7 @@ sub nic_infomaniak_update {
|
|||
if (defined $updated && $updated) {
|
||||
info($msg);
|
||||
$config{$h}{"ipv$v"} = $ip;
|
||||
$config{$h}{'mtime'} = $config{$h}{'mtime'} // $now;
|
||||
$config{$h}{'mtime'} = $now;
|
||||
$config{$h}{"status-ipv$v"} = 'good';
|
||||
next INFOMANIAK_IP_LOOP;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue