Remove "ignoring value" from warning message
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
parent
e7ed8e9628
commit
1f45e55f45
1 changed files with 1 additions and 1 deletions
2
ddclient
2
ddclient
|
|
@ -2157,7 +2157,7 @@ sub get_ip {
|
||||||
if ($use eq 'ip') {
|
if ($use eq 'ip') {
|
||||||
$ip = opt('ip', $h);
|
$ip = opt('ip', $h);
|
||||||
if (!is_ipv4($ip) && !is_ipv6($ip)) {
|
if (!is_ipv4($ip) && !is_ipv6($ip)) {
|
||||||
warning("'%s' is not a valid IPv4 or IPv6 address, ignoring value.",$ip);
|
warning("'%s' is not a valid IPv4 or IPv6 address", $ip);
|
||||||
$ip = undef;
|
$ip = undef;
|
||||||
}
|
}
|
||||||
$arg = 'ip';
|
$arg = 'ip';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue