dnsmasq1-100-bugfix.patch 795 B

12345678910111213141516171819202122232425
  1. --- dnsmasq-1.18/config.h.dist 2004-03-01 22:25:12.000000000 -0600
  2. +++ dnsmasq-1.18/config.h 2004-03-01 22:26:50.000000000 -0600
  3. @@ -126,7 +126,9 @@
  4. /* Must preceed __linux__ since uClinux defines __linux__ too. */
  5. #if defined(__uClinux__) || defined(__UCLIBC__)
  6. +#ifndef __UCLIBC_HAS_IPV6__
  7. #undef HAVE_LINUX_IPV6_PROC
  8. +#endif
  9. #define HAVE_GETOPT_LONG
  10. #undef HAVE_ARC4RANDOM
  11. #define HAVE_RANDOM
  12. diff -x CVS -urN dnsmasq-1.18/option.c dnsmasq.old/option.c
  13. --- dnsmasq-1.18/option.c 2003-11-05 08:22:18.000000000 -0600
  14. +++ dnsmasq.old/option.c 2004-01-05 23:40:11.000000000 -0600
  15. @@ -578,8 +578,8 @@
  16. #ifdef HAVE_IPV6
  17. else if (tmp->source_addr.sa.sa_family == AF_INET6)
  18. tmp->source_addr.in6.sin6_port = htons(*query_port);
  19. - }
  20. #endif
  21. + }
  22. }
  23. if (*if_addrs)