Remove "ignoring value" from warning message

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
David Kerr 2020-06-28 21:47:23 -04:00 committed by GitHub
parent e7ed8e9628
commit 1f45e55f45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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