From 2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 28 Jul 2009 18:02:10 -0700 Subject: (Hopefully) fix the problem Kai reported with net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index fc009145f0..697051ceea 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1333,6 +1333,9 @@ bool is_broadcast_addr(const struct sockaddr *pss); bool interpret_string_addr(struct sockaddr_storage *pss, const char *str, int flags); +bool interpret_string_addr_prefer_ipv4(struct sockaddr_storage *pss, + const char *str, + int flags); bool is_loopback_ip_v4(struct in_addr ip); bool is_loopback_addr(const struct sockaddr *pss); bool is_zero_addr(const struct sockaddr *pss); -- cgit