summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 19:56:09 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 19:56:09 +0200
commitd1bc7e56d0584ef4f1051e39cd1a81182d63f096 (patch)
tree590be6fad54e997282989f9e21d6fe0ce96185d7 /lib/util
parentd6a5476ee7af464a381bbeeec576ee58f3650a43 (diff)
downloadsamba-d1bc7e56d0584ef4f1051e39cd1a81182d63f096.tar.gz
samba-d1bc7e56d0584ef4f1051e39cd1a81182d63f096.tar.bz2
samba-d1bc7e56d0584ef4f1051e39cd1a81182d63f096.zip
Rename same_net to same_net_v4 for consistency with Samba 3.
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c
index ee57e9dd23..7bd083cc3a 100644
--- a/lib/util/util_net.c
+++ b/lib/util/util_net.c
@@ -96,7 +96,7 @@ _PUBLIC_ bool is_zero_ip(struct in_addr ip)
Are two IPs on the same subnet?
**/
-_PUBLIC_ bool same_net(struct in_addr ip1, struct in_addr ip2, struct in_addr mask)
+_PUBLIC_ bool same_net_v4(struct in_addr ip1, struct in_addr ip2, struct in_addr mask)
{
uint32_t net1,net2,nmask;