Update ddclient.in

Cleaner syntax

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
JMCC 2022-01-16 21:42:49 +01:00 committed by GitHub
parent 350b74d30f
commit cd358899f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5845,12 +5845,9 @@ sub nic_keysystems_update {
# 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;
$url .= "?hostname=$h";
$url .= "&password=$config{$h}{'password'}";
$url .= "&ip=$ip";
# Try to get URL
my $reply = geturl(opt('proxy'), $url);