summaryrefslogtreecommitdiff
path: root/lib/util/util_net.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-24 18:18:14 -0700
committerKai Blin <kai@samba.org>2011-09-24 21:46:06 -0700
commitb02bbf237cfd36cd736cefc78f1e3ba3278dc7bf (patch)
tree7c2763a28aa44a08a48c78e0fde6c82dc6797ea8 /lib/util/util_net.h
parent7466612392272e70c60114fc035b62b16f6194aa (diff)
downloadsamba-b02bbf237cfd36cd736cefc78f1e3ba3278dc7bf.tar.gz
samba-b02bbf237cfd36cd736cefc78f1e3ba3278dc7bf.tar.bz2
samba-b02bbf237cfd36cd736cefc78f1e3ba3278dc7bf.zip
net: Don't register link local addresses with DNS
Diffstat (limited to 'lib/util/util_net.h')
-rw-r--r--lib/util/util_net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/util_net.h b/lib/util/util_net.h
index fc2776a32b..215a6574d4 100644
--- a/lib/util/util_net.h
+++ b/lib/util/util_net.h
@@ -74,6 +74,7 @@ bool is_loopback_ip_v4(struct in_addr ip);
bool is_loopback_addr(const struct sockaddr *pss);
bool is_zero_addr(const struct sockaddr_storage *pss);
void zero_ip_v4(struct in_addr *ip);
+bool is_linklocal_addr(const struct sockaddr_storage *pss);
/**
Interpret an internet address or name into an IP address in 4 byte form.
**/