darkstat: fix DNS resolution on uClibc (#12323)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@37351 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/darkstat/patches/100-do-not-use-NI_IDN.patch
Normal file
12
net/darkstat/patches/100-do-not-use-NI_IDN.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- 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;
|
Reference in New Issue
Block a user