summaryrefslogtreecommitdiff
path: root/usr/src/lib/nsswitch/files/common
diff options
context:
space:
mode:
authormichen <none@none>2007-01-08 20:18:15 -0800
committermichen <none@none>2007-01-08 20:18:15 -0800
commit767b0abf70408797bf5ca4a8dac501bb1a90003d (patch)
treed65a61679fc5e478330af957fe45dff40620cb26 /usr/src/lib/nsswitch/files/common
parent5a4c37c9b23ecb4d64c8f198f2002aaae2f22e91 (diff)
downloadillumos-joyent-767b0abf70408797bf5ca4a8dac501bb1a90003d.tar.gz
6496648 New nsswitch doesn't handle netmasks entries with comments appended
6508109 getgrent[_r] can't get entry from ldap backend 6508123 getauuserent[_r] and getuserattr can't get entry with compat backend. 6510271 nss_nis returns NSS_SUCCESS when no netgroup can be found
Diffstat (limited to 'usr/src/lib/nsswitch/files/common')
-rw-r--r--usr/src/lib/nsswitch/files/common/netmasks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/nsswitch/files/common/netmasks.c b/usr/src/lib/nsswitch/files/common/netmasks.c
index 2fe4a2fe1b..6a0a166acb 100644
--- a/usr/src/lib/nsswitch/files/common/netmasks.c
+++ b/usr/src/lib/nsswitch/files/common/netmasks.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* files/netmasks.c -- "files" backend for nsswitch "netmasks" database
@@ -100,7 +100,7 @@ getbynet(be, a)
argp->buf.buffer = tmpbuf;
argp->buf.buflen = NSS_LINELEN_NETMASKS;
}
- res = _nss_files_XY_all(be, argp, 0, argp->key.name, check_addr);
+ res = _nss_files_XY_all(be, argp, 1, argp->key.name, check_addr);
if (argp->buf.result != NULL) {
argp->buf.buffer = NULL;
argp->buf.buflen = 0;