[SIGAR-228] increase buflen for gethostbyname_r
This commit is contained in:
parent
8a4c9f6eb0
commit
639169e9cc
|
@ -344,7 +344,7 @@ int sigar_get_iftype(const char *name, int *type, int *inst);
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SIGAR_HOSTENT_LEN 512
|
#define SIGAR_HOSTENT_LEN 1024
|
||||||
#if defined(_AIX)
|
#if defined(_AIX)
|
||||||
#define SIGAR_HAS_HOSTENT_DATA
|
#define SIGAR_HAS_HOSTENT_DATA
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue