From 61fff1c344d8df14d3a76584e5131e2895b0b643 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 22 Jul 2024 22:11:38 -0400 Subject: [PATCH] domeneshop: Inline an unnecessary variable --- ddclient.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ddclient.in b/ddclient.in index 55b8eaf..0f2bf81 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4313,13 +4313,12 @@ EoEXAMPLE ###################################################################### sub nic_domeneshop_update { debug("\nnic_domeneshop_update -------------------"); - my $endpointPath = "/v0/dyndns/update"; for my $h (@_) { my $ip = delete $config{$h}{'wantip'}; info("$h: Setting IP address to $ip"); my $reply = geturl( proxy => opt('proxy'), - url => "$config{$h}{'server'}$endpointPath?hostname=$h&myip=$ip", + url => "$config{$h}{'server'}/v0/dyndns/update?hostname=$h&myip=$ip", login => $config{$h}{'login'}, password => $config{$h}{'password'}, );