1
0

patch-src_config_h 863 B

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