packages/net/darkstat/patches/100-do-not-use-NI_IDN.patch
jow df799c9bb2 darkstat: fix DNS resolution on uClibc (#12323)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@37351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15 20:50:55 +00:00

13 lines
270 B
Diff

--- a/dns.c
+++ b/dns.c
@@ -346,9 +346,6 @@ dns_main(void)
reply.addr = ip;
flags = NI_NAMEREQD;
-# ifdef NI_IDN
- flags |= NI_IDN;
-# endif
switch (ip.family) {
case IPv4:
sin.sin_family = AF_INET;