Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/ethers.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-11-19 16:36:12 +0100
committerArthur de Jong <arthur@arthurdejong.org>2006-11-19 16:36:12 +0100
commitc14c175ba30872ece8dcbe4868e5bee1d17c0ec5 (patch)
tree943661904b2f4d3240d731db32e2eaf54a72f01a /nss/ethers.c
parente412f91d6acb8631a8eacb71c9188997b617fb5b (diff)
write contents of ethernet address not pointer
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@104 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/ethers.c')
-rw-r--r--nss/ethers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/ethers.c b/nss/ethers.c
index c9dd1bc..6174794 100644
--- a/nss/ethers.c
+++ b/nss/ethers.c
@@ -61,7 +61,7 @@ enum nss_status _nss_ldap_getntohost_r(
const struct ether_addr *addr,struct etherent *result,
char *buffer,size_t buflen,int *errnop)
{
- NSS_BYTYPE(NSLCD_ACTION_ETHER_BYETHER,addr,u_int8_t[6],read_etherent);
+ NSS_BYTYPE(NSLCD_ACTION_ETHER_BYETHER,*addr,u_int8_t[6],read_etherent);
}
/* thread-local file pointer to an ongoing request */