namespace sun -> sunix

This commit is contained in:
Mark Andrews
2005-03-16 23:39:06 +00:00
parent eaccf5e805
commit 15683369e0
4 changed files with 30 additions and 30 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: netaddr.c,v 1.33 2005/03/16 20:15:08 marka Exp $ */
/* $Id: netaddr.c,v 1.34 2005/03/16 23:39:05 marka Exp $ */
#include <config.h>
@@ -349,7 +349,7 @@ isc_netaddr_fromsockaddr(isc_netaddr_t *t, const isc_sockaddr_t *s) {
break;
#ifdef ISC_PLATFORM_HAVESYSUNH
case AF_UNIX:
memcpy(t->type.un, s->type.sun.sun_path, sizeof(t->type.un));
memcpy(t->type.un, s->type.sunix.sun_path, sizeof(t->type.un));
t->zone = 0;
break;
#endif