From ce927ac28f496159d534a87ef8632caf91578e85 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 28 Jul 2024 21:12:03 -0400 Subject: [PATCH] inwx: Add missing `hostname` argument to update URL --- ddclient.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ddclient.in b/ddclient.in index 6658bae..dcd9013 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6038,15 +6038,14 @@ sub nic_inwx_update { delete $config{$_}{'wantipv6'} for @hosts; info("$hosts: setting IPv4 address to $ipv4") if $ipv4; info("$hosts: setting IPv6 address to $ipv6") if $ipv6; - my $url = "$groupcfg{'server'}$groupcfg{'script'}?"; - $url .= "myip=$ipv4" if $ipv4; + my $url = "$groupcfg{'server'}$groupcfg{'script'}?hostname=$hosts"; + $url .= "&myip=$ipv4" if $ipv4; if ($ipv6) { if (!$ipv4 && opt('usev4', $hosts) ne 'disabled') { warning("Skipping IPv6 AAAA record update because INWX requires the IPv4 A record to be updated at the same time but the IPv4 address is unknown."); next; } - $url .= "&" if $ipv4; - $url .= "myipv6=$ipv6"; + $url .= "&myipv6=$ipv6"; } my $reply = geturl( proxy => opt('proxy'),