diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-06 10:11:13 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-06 12:26:11 +1000 |
commit | b81eac1e2b47b0f3885cfe8bb251eeb6245706f9 (patch) | |
tree | 04b0cebfe8adb130b11d10a47487ddf4c4c03f04 /lib/util/util_net.h | |
parent | d1c90c465ee3d0bf60daf23c8eb9510071426c97 (diff) | |
download | samba-b81eac1e2b47b0f3885cfe8bb251eeb6245706f9.tar.gz samba-b81eac1e2b47b0f3885cfe8bb251eeb6245706f9.tar.bz2 samba-b81eac1e2b47b0f3885cfe8bb251eeb6245706f9.zip |
util-net: added is_ipaddress_v6()
Diffstat (limited to 'lib/util/util_net.h')
-rw-r--r-- | lib/util/util_net.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |