0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch 1.0 KB

123456789101112131415161718192021222324252627
  1. From 7cc29144535a622fc671dc86eb1da65b0473a7c4 Mon Sep 17 00:00:00 2001
  2. From: Hongxu Jia <hongxu.jia@windriver.com>
  3. Date: Tue, 15 Aug 2017 16:14:22 +0800
  4. Subject: [PATCH 01/11] define macro _PATH_DHCPD_CONF and _PATH_DHCLIENT_CONF
  5. Upstream-Status: Inappropriate [OE specific]
  6. Rebase to 4.3.6
  7. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  8. ---
  9. includes/site.h | 3 ++-
  10. 1 file changed, 2 insertions(+), 1 deletion(-)
  11. Index: dhcp-4.4.3/includes/site.h
  12. ===================================================================
  13. --- dhcp-4.4.3.orig/includes/site.h
  14. +++ dhcp-4.4.3/includes/site.h
  15. @@ -148,7 +148,8 @@
  16. /* Define this if you want the dhcpd.conf file to go somewhere other than
  17. the default location. By default, it goes in /etc/dhcpd.conf. */
  18. -/* #define _PATH_DHCPD_CONF "/etc/dhcpd.conf" */
  19. +#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
  20. +#define _PATH_DHCLIENT_CONF "/etc/dhcp/dhclient.conf"
  21. /* Network API definitions. You do not need to choose one of these - if
  22. you don't choose, one will be chosen for you in your system's config