mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Define SETFAMILYFLAGS, tidy.
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(LINT) && !defined(CODECENTER)
|
#if !defined(LINT) && !defined(CODECENTER)
|
||||||
static const char rcsid[] = "$Id: gethostent.c,v 1.2 2002/05/24 06:52:39 marka Exp $";
|
static const char rcsid[] = "$Id: gethostent.c,v 1.3 2002/05/27 07:54:35 marka Exp $";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
@@ -461,19 +461,16 @@ freehostent(struct hostent *he) {
|
|||||||
#if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR) && \
|
#if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR) && \
|
||||||
!defined(IRIX_EMUL_IOCTL_SIOCGIFCONF)
|
!defined(IRIX_EMUL_IOCTL_SIOCGIFCONF)
|
||||||
|
|
||||||
/* #ifdef HAVEIF_LADDRCONF */
|
|
||||||
#ifdef __hpux
|
#ifdef __hpux
|
||||||
#define lifc_len iflc_len
|
#define lifc_len iflc_len
|
||||||
#define lifc_buf iflc_buf
|
#define lifc_buf iflc_buf
|
||||||
#define lifc_req iflc_req
|
#define lifc_req iflc_req
|
||||||
#define LIFCONF if_laddrconf
|
#define LIFCONF if_laddrconf
|
||||||
#else
|
#else
|
||||||
#define ISC_HAVE_LIFC_FAMILY 1
|
#define SETFAMILYFLAGS
|
||||||
#define ISC_HAVE_LIFC_FLAGS 1
|
|
||||||
#define LIFCONF lifconf
|
#define LIFCONF lifconf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* #ifdef HAVEIF_LADDRREQ */
|
|
||||||
#ifdef __hpux
|
#ifdef __hpux
|
||||||
#define lifr_addr iflr_addr
|
#define lifr_addr iflr_addr
|
||||||
#define lifr_name iflr_name
|
#define lifr_name iflr_name
|
||||||
|
Reference in New Issue
Block a user