1
0

patch-src_config_h 813 B

12345678910111213141516171819202122
  1. --- dnsmasq-2.47.orig/src/config.h 2009-02-05 13:14:24.000000000 +0100
  2. +++ dnsmasq-2.47/src/config.h 2009-03-19 18:40:37.000000000 +0100
  3. @@ -45,7 +45,7 @@
  4. # elif defined(__sun__) || defined (__sun)
  5. # define LEASEFILE "/var/cache/dnsmasq.leases"
  6. # else
  7. -# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
  8. +# define LEASEFILE "/tmp/dnsmasq.leases"
  9. # endif
  10. #endif
  11. @@ -282,8 +282,9 @@ typedef unsigned long in_addr_t;
  12. /* We assume that systems which don't have IPv6
  13. headers don't have ntop and pton either */
  14. -#if defined(INET6_ADDRSTRLEN) && defined(IPV6_V6ONLY) && !defined(NO_IPV6)
  15. +#if defined(INET6_ADDRSTRLEN) && !defined(NO_IPV6)
  16. # define HAVE_IPV6
  17. +# define IPV6_V6ONLY 26
  18. # define ADDRSTRLEN INET6_ADDRSTRLEN
  19. # if defined(SOL_IPV6)
  20. # define IPV6_LEVEL SOL_IPV6