summaryrefslogtreecommitdiff
path: root/source3/lib/interface.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-16 11:33:37 -0700
committerJeremy Allison <jra@samba.org>2007-10-16 11:33:37 -0700
commitce77126e68df65abc063de0ccdaec22cc746203d (patch)
tree97e027102f5a51f2dc89d96a818efa569a551d26 /source3/lib/interface.c
parentb111d543a580694f2909c75a280a42a27bbe6dd0 (diff)
downloadsamba-ce77126e68df65abc063de0ccdaec22cc746203d.tar.gz
samba-ce77126e68df65abc063de0ccdaec22cc746203d.tar.bz2
samba-ce77126e68df65abc063de0ccdaec22cc746203d.zip
Fix access control code to be IPv6/v4 protocol independent.
Make unix_wild_match() talloc, not pstring based. Next will be name resolution code, and client code. Jeremy. (This used to be commit f6a01b82c5a47957659df08ea84e335dfbba1826)
Diffstat (limited to 'source3/lib/interface.c')
-rw-r--r--source3/lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index d2aa69a289..4892ec1248 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -333,7 +333,7 @@ static void add_interface(const struct iface_struct *ifs)
Create a struct sockaddr_storage with the netmask bits set to 1.
****************************************************************************/
-static bool make_netmask(struct sockaddr_storage *pss_out,
+bool make_netmask(struct sockaddr_storage *pss_out,
const struct sockaddr_storage *pss_in,
unsigned long masklen)
{