From 054212ce225244d9c82bcd72c10df017e3df5fbc Mon Sep 17 00:00:00 2001 From: pesenise <70333661+pesensie@users.noreply.github.com> Date: Thu, 28 Jul 2022 11:49:53 +0200 Subject: [PATCH] Update ddclient.in Co-authored-by: Sandro --- ddclient.in | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ddclient.in b/ddclient.in index b7bdef1..b81e7fc 100755 --- a/ddclient.in +++ b/ddclient.in @@ -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);