Update ddclient.in
Cleaner syntax Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
350b74d30f
commit
cd358899f8
1 changed files with 3 additions and 6 deletions
|
|
@ -5845,12 +5845,9 @@ sub nic_keysystems_update {
|
||||||
# Set the URL that we're going to to update
|
# Set the URL that we're going to to update
|
||||||
my $url;
|
my $url;
|
||||||
$url = "http://$config{$h}{'server'}/update.php";
|
$url = "http://$config{$h}{'server'}/update.php";
|
||||||
$url .= "?hostname=";
|
$url .= "?hostname=$h";
|
||||||
$url .= $h;
|
$url .= "&password=$config{$h}{'password'}";
|
||||||
$url .= "&password=";
|
$url .= "&ip=$ip";
|
||||||
$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