From b81eac1e2b47b0f3885cfe8bb251eeb6245706f9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 6 Jun 2011 10:11:13 +1000 Subject: util-net: added is_ipaddress_v6() --- lib/util/util_net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/util/util_net.h') diff --git a/lib/util/util_net.h b/lib/util/util_net.h index 38b6d5a959..fc2776a32b 100644 --- a/lib/util/util_net.h +++ b/lib/util/util_net.h @@ -85,6 +85,7 @@ _PUBLIC_ uint32_t interpret_addr(const char *str); _PUBLIC_ struct in_addr interpret_addr2(const char *str); _PUBLIC_ bool is_ipaddress_v4(const char *str); +_PUBLIC_ bool is_ipaddress_v6(const char *str); bool is_address_any(const struct sockaddr *psa); bool same_net(const struct sockaddr *ip1, -- cgit