From 3c84f7a1b56f771b55d5c779afd9ed9241b8e544 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 30 May 2024 04:49:46 -0400 Subject: [PATCH] dnsexit2: Delete unnecessary debug messages --- ddclient.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ddclient.in b/ddclient.in index 453d810..c9bb379 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4174,12 +4174,7 @@ sub nic_dnsexit2_update { # The DNSExit API does not support updating multiple hosts at a time. for my $h (@_) { - if (not defined $config{$h}{'zone'}) { - debug("Zone not defined, setting to default hostname: %s", $h); - $config{$h}{'zone'} = $h - } else { - debug("Zone is: %s", $config{$h}{'zone'}); - } + $config{$h}{'zone'} //= $h; # The IPv4 and IPv6 addresses must be updated together in a single API call. my %ips; my @updates;