dhcp-4.2.0-paths.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff -up dhcp-4.2.0/includes/dhcpd.h.paths dhcp-4.2.0/includes/dhcpd.h
  2. --- dhcp-4.2.0/includes/dhcpd.h.paths 2010-07-21 13:55:42.000000000 +0200
  3. +++ dhcp-4.2.0/includes/dhcpd.h 2010-07-21 14:29:57.000000000 +0200
  4. @@ -1390,15 +1390,15 @@ typedef unsigned char option_mask [16];
  5. #else /* !DEBUG */
  6. #ifndef _PATH_DHCPD_CONF
  7. -#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
  8. +#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
  9. #endif /* DEBUG */
  10. #ifndef _PATH_DHCPD_DB
  11. -#define _PATH_DHCPD_DB LOCALSTATEDIR"/db/dhcpd.leases"
  12. +#define _PATH_DHCPD_DB LOCALSTATEDIR"/dhcpd/dhcpd.leases"
  13. #endif
  14. #ifndef _PATH_DHCPD6_DB
  15. -#define _PATH_DHCPD6_DB LOCALSTATEDIR"/db/dhcpd6.leases"
  16. +#define _PATH_DHCPD6_DB LOCALSTATEDIR"/dhcpd/dhcpd6.leases"
  17. #endif
  18. #ifndef _PATH_DHCPD_PID
  19. @@ -1412,7 +1412,7 @@ typedef unsigned char option_mask [16];
  20. #endif /* DEBUG */
  21. #ifndef _PATH_DHCLIENT_CONF
  22. -#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
  23. +#define _PATH_DHCLIENT_CONF "/etc/dhcp/dhclient.conf"
  24. #endif
  25. #ifndef _PATH_DHCLIENT_SCRIPT
  26. @@ -1428,11 +1428,11 @@ typedef unsigned char option_mask [16];
  27. #endif
  28. #ifndef _PATH_DHCLIENT_DB
  29. -#define _PATH_DHCLIENT_DB LOCALSTATEDIR"/db/dhclient.leases"
  30. +#define _PATH_DHCLIENT_DB LOCALSTATEDIR"/dhclient/dhclient.leases"
  31. #endif
  32. #ifndef _PATH_DHCLIENT6_DB
  33. -#define _PATH_DHCLIENT6_DB LOCALSTATEDIR"/db/dhclient6.leases"
  34. +#define _PATH_DHCLIENT6_DB LOCALSTATEDIR"/dhclient/dhclient6.leases"
  35. #endif
  36. #ifndef _PATH_RESOLV_CONF