Update ddclient.in

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
pesenise 2022-07-28 11:49:53 +02:00 committed by GitHub
parent faf2c3b1c9
commit 054212ce22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7030,15 +7030,7 @@ sub nic_keysystems_update {
info("KEYSYSTEMS setting IP address to %s for %s", $ip, $h);
verbose("UPDATE:","updating %s", $h);
# Set the URL that we're going to to update
my $url;
$url = "http://$config{$h}{'server'}/update.php";
$url .= "?hostname=";
$url .= $h;
$url .= "&password=";
$url .= $config{$h}{'password'};
$url .= "&ip=";
$url .= $ip;
my $url = "http://$config{$h}{'server'}/update.php?hostname=$h&password=$config{$h}{'password'}&ip=$ip";
# Try to get URL
my $reply = geturl(opt('proxy'), $url);