From c14c175ba30872ece8dcbe4868e5bee1d17c0ec5 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 19 Nov 2006 15:36:12 +0000 Subject: 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 --- nss/ethers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss/ethers.c') 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 */ -- cgit v1.2.3