summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-28 18:02:10 -0700
committerJeremy Allison <jra@samba.org>2009-07-28 18:02:10 -0700
commit2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560 (patch)
treecc97643e148afa6d31e7dddeec800bb50179372d /source3/include/proto.h
parent285edf6a5986eb3a1f831f4b260afda0bb14c51e (diff)
downloadsamba-2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560.tar.gz
samba-2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560.tar.bz2
samba-2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560.zip
(Hopefully) fix the problem Kai reported with
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
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);