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 # 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);