fix warning "Argument "googledomains" isnt numeric in numeric eq (==) at /usr/sbin/ddclient line 2736.
This commit is contained in:
parent
a57cb3b9ff
commit
e47e63d91e
1 changed files with 2 additions and 2 deletions
|
@ -2733,7 +2733,7 @@ sub get_ip {
|
||||||
$skip = opt('web-skip', $h) // '';
|
$skip = opt('web-skip', $h) // '';
|
||||||
|
|
||||||
if (exists $builtinweb{$url}) {
|
if (exists $builtinweb{$url}) {
|
||||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url == 'googledomains');
|
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url eq 'googledomains');
|
||||||
|
|
||||||
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
||||||
$url = $builtinweb{$url}->{'url'};
|
$url = $builtinweb{$url}->{'url'};
|
||||||
|
@ -3327,7 +3327,7 @@ sub get_ipv6 {
|
||||||
$url = $arg;
|
$url = $arg;
|
||||||
$skip = opt('webv6-skip', $h) // '';
|
$skip = opt('webv6-skip', $h) // '';
|
||||||
if (exists $builtinweb{$url}) {
|
if (exists $builtinweb{$url}) {
|
||||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url == 'googledomains');
|
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url eq 'googledomains');
|
||||||
|
|
||||||
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
||||||
$url = $builtinweb{$url}->{'url'};
|
$url = $builtinweb{$url}->{'url'};
|
||||||
|
|
Loading…
Reference in a new issue