From 042b7e2ce387cc18f0c06bb9fe333dacc10ef724 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 1 Jun 2013 13:35:26 -0700 Subject: Add IPv6 format validation support to the main program. --- src/ipaddrcheck.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ipaddrcheck.c b/src/ipaddrcheck.c index 34b93a9..588889e 100644 --- a/src/ipaddrcheck.c +++ b/src/ipaddrcheck.c @@ -246,8 +246,10 @@ int main(int argc, char* argv[]) result = is_ipv6(address); break; case IS_IPV6_CIDR: + result = is_ipv6_cidr(address_str); break; case IS_IPV6_SINGLE: + result = is_ipv6_single(address_str); break; case IS_IPV6_HOST: result = is_ipv6_host(address); -- cgit v1.2.3