100-do-not-use-NI_IDN.patch 270 B

123456789101112
  1. --- a/dns.c
  2. +++ b/dns.c
  3. @@ -347,9 +347,6 @@ dns_main(void)
  4. reply.addr = ip;
  5. flags = NI_NAMEREQD;
  6. -# ifdef NI_IDN
  7. - flags |= NI_IDN;
  8. -# endif
  9. switch (ip.family) {
  10. case IPv4:
  11. sin.sin_family = AF_INET;