Update ddclient.in

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

View file

@ -5502,11 +5502,7 @@ sub dinamico_cdmon_update {
info("setting IP address to %s for %s", $ip, $h);
verbose("UPDATE:","updating %s", $h);
my $url;
$url = "https://dinamico.cdmon.org/onlineService.php";
$url .= "?enctype=MD5";
$url .= "&n=$config{$h}{'login'}";
$url .= "&p=$config{$h}{'password'}";
my $url = "https://dinamico.cdmon.org/onlineService.php?enctype=MD5&n=$config{$h}{'login'}&p=$config{$h}{'password'}";
$url .= "&cip=$ip" if $ip;
verbose("SENDING:", "%s", $url);