Don't require login and password to be set

Not all services use them.

This change should have been included with commit
27b5c535bc.
This commit is contained in:
Richard Hansen 2024-05-20 00:08:51 -04:00
parent 7b18e4bce4
commit 6320e6c395

View file

@ -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;