summaryrefslogtreecommitdiff
path: root/nss/ethers.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/ethers.c')
-rw-r--r--nss/ethers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nss/ethers.c b/nss/ethers.c
index 6e00b38..a359191 100644
--- a/nss/ethers.c
+++ b/nss/ethers.c
@@ -2,7 +2,7 @@
ethers.c - NSS lookup functions for ethers database
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -66,14 +66,14 @@ static __thread TFILE *etherentfp;
enum nss_status _nss_ldap_setetherent(int UNUSED(stayopen))
{
- NSS_SETENT(etherentfp,NSLCD_ACTION_ETHER_ALL);
+ NSS_SETENT(etherentfp);
}
enum nss_status _nss_ldap_getetherent_r(
struct etherent *result,
char *buffer,size_t buflen,int *errnop)
{
- NSS_GETENT(etherentfp,
+ NSS_GETENT(etherentfp,NSLCD_ACTION_ETHER_ALL,
read_etherent(etherentfp,result,buffer,buflen,errnop));
}