backend: Replace valid_ipv4() with valid_ipv4addr().

This commit is contained in:
Mikhail Efremov 2012-12-14 15:45:28 +04:00
parent 8ac8b31d81
commit 2da6f2efa3

View File

@ -666,7 +666,7 @@ check_ip()
local ipv="$2"
if [ "$ipv" = 4 ]; then
valid_ipv4 "$ip"
valid_ipv4addr "$ip"
else
valid_ipv6addr "$ip"
fi