diff options
| author | 2003-11-18 14:14:04 +0000 | |
|---|---|---|
| committer | 2003-11-18 14:14:04 +0000 | |
| commit | 3dee7a5ac7752712c6d65bed4fce5a0337bbaa09 (patch) | |
| tree | 3a006eafb779ce1fb8162897fd14ccd92524c4ac /usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c | |
| parent | use bn_asm_vax.S (from netbsd); test + ok by miod (diff) | |
| download | wireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.tar.xz wireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.zip | |
update to BIND v9.2.3. ok todd@
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c b/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c index 47ff6f4ef1e..a389e280d0f 100644 --- a/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c +++ b/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1999-2001 Internet Software Consortium. + * Copyright (C) 1999-2001, 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $ISC: ifiter_ioctl.c,v 1.19.2.2.4.1 2003/02/19 04:32:41 marka Exp $ */ +/* $ISC: ifiter_ioctl.c,v 1.19.2.5 2003/07/22 04:03:49 marka Exp $ */ /* * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl. @@ -133,7 +133,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) { goto alloc_failure; } - memset(&iter->ifc.lifc_len, 0, sizeof(iter->ifc.lifc_len)); + memset(&iter->ifc, 0, sizeof(iter->ifc)); #ifdef ISC_HAVE_LIFC_FAMILY iter->ifc.lifc_family = AF_UNSPEC; #endif |
