patch-src_config_h 786 B

12345678910111213141516171819202122
  1. --- dnsmasq-2.55.orig/src/config.h 2010-06-07 23:01:19.000000000 +0200
  2. +++ dnsmasq-2.55/src/config.h 2011-01-07 21:40:34.000000000 +0100
  3. @@ -47,7 +47,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. @@ -269,8 +269,9 @@ NOTES:
  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