From 6320e6c395311051aa99f0ddcba693bdbbdafc20 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 20 May 2024 00:08:51 -0400 Subject: [PATCH] Don't require `login` and `password` to be set Not all services use them. This change should have been included with commit 27b5c535bc4963be8c30aba195aef6e80e9ad444. --- ddclient.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ddclient.in b/ddclient.in index 9e73704..84570f2 100755 --- a/ddclient.in +++ b/ddclient.in @@ -3541,13 +3541,7 @@ sub nic_updateable { warning("IPv6 address for %s valid: %s. Reset warning count", $host, $ipv6); } - if ($config{$host}{'login'} eq '') { - warning("null login name specified for host %s.", $host); - - } elsif ($config{$host}{'password'} eq '') { - warning("null password specified for host %s.", $host); - - } elsif ($opt{'force'}) { + if ($opt{'force'}) { info("forcing update of %s.", $host); $update = 1;