Update ddclient.in
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
faf2c3b1c9
commit
054212ce22
1 changed files with 1 additions and 9 deletions
10
ddclient.in
10
ddclient.in
|
|
@ -7030,15 +7030,7 @@ sub nic_keysystems_update {
|
||||||
info("KEYSYSTEMS setting IP address to %s for %s", $ip, $h);
|
info("KEYSYSTEMS setting IP address to %s for %s", $ip, $h);
|
||||||
verbose("UPDATE:","updating %s", $h);
|
verbose("UPDATE:","updating %s", $h);
|
||||||
|
|
||||||
# Set the URL that we're going to to update
|
my $url = "http://$config{$h}{'server'}/update.php?hostname=$h&password=$config{$h}{'password'}&ip=$ip";
|
||||||
my $url;
|
|
||||||
$url = "http://$config{$h}{'server'}/update.php";
|
|
||||||
$url .= "?hostname=";
|
|
||||||
$url .= $h;
|
|
||||||
$url .= "&password=";
|
|
||||||
$url .= $config{$h}{'password'};
|
|
||||||
$url .= "&ip=";
|
|
||||||
$url .= $ip;
|
|
||||||
|
|
||||||
# Try to get URL
|
# Try to get URL
|
||||||
my $reply = geturl(opt('proxy'), $url);
|
my $reply = geturl(opt('proxy'), $url);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue