path: root/
diff options
authorJozsef Kadlecsik <>2012-11-05 17:11:10 +0100
committerJozsef Kadlecsik <>2012-11-05 17:11:10 +0100
commitc52cf6000923b6a5c6416360d9425061dd19424d (patch)
treed662f19f699cf4a7749c827fe915f9334fca50d0 /
parent5166d5b94ff93cda9182be48e82569c54357cc96 (diff)
Use gethostbyname2 instead of getaddrinfo
In newer glibc, getaddrinfo issues an extra system call to kernel, which slows down ipset. Replace getaddrinfo with gethostbyname2, where possible.
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
diff --git a/ b/
index d9bc2fb..7b3e70b 100644
--- a/
+++ b/
@@ -162,6 +162,9 @@ AC_CHECK_TYPES([union nf_inet_addr],,,[#include <linux/types.h>
#include <netinet/in.h>
#include <linux/netfilter.h>])
+dnl Checks for functions
dnl Checks for compiler characteristics.
dnl Check extra warning flags except
dnl -Wconversion -> we need it