philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.4-paths.patch

45d60a
diff -up dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf.paths dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf
45d60a
--- dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf.paths  2012-08-24 21:11:21.000000000 +0200
45d60a
+++ dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf        2012-10-26 18:10:08.716560729 +0200
45d60a
@@ -42,7 +42,7 @@ option dhcp6.domain-search "test.example
45d60a
 option dhcp6.info-refresh-time 21600;
45d60a
 
45d60a
 # The path of the lease file
45d60a
-dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases";
45d60a
+dhcpv6-lease-file-name "/var/lib/dhcpd/dhcpd6.leases";
45d60a
 
45d60a
 # Static definition (must be global)
45d60a
 host myclient {
45d60a
diff -up dhcp-4.2.4b1/includes/dhcpd.h.paths dhcp-4.2.4b1/includes/dhcpd.h
45d60a
--- dhcp-4.2.4b1/includes/dhcpd.h.paths	2012-04-18 11:12:34.000000000 +0200
45d60a
+++ dhcp-4.2.4b1/includes/dhcpd.h	2012-04-18 11:14:38.541272405 +0200
45d60a
@@ -1420,7 +1420,7 @@ typedef unsigned char option_mask [16];
45d60a
 #else /* !DEBUG */
45d60a
 
45d60a
 #ifndef _PATH_DHCPD_CONF
45d60a
-#define _PATH_DHCPD_CONF	"/etc/dhcpd.conf"
45d60a
+#define _PATH_DHCPD_CONF	"/etc/dhcp/dhcpd.conf"
45d60a
 #endif /* DEBUG */
45d60a
 
45d60a
 #ifndef _PATH_DHCPD_DB
45d60a
@@ -1442,11 +1442,11 @@ typedef unsigned char option_mask [16];
45d60a
 #endif /* DEBUG */
45d60a
 
45d60a
 #ifndef _PATH_DHCLIENT_CONF
45d60a
-#define _PATH_DHCLIENT_CONF	"/etc/dhclient.conf"
45d60a
+#define _PATH_DHCLIENT_CONF	"/etc/dhcp/dhclient.conf"
45d60a
 #endif
45d60a
 
45d60a
 #ifndef _PATH_DHCLIENT_SCRIPT
45d60a
-#define _PATH_DHCLIENT_SCRIPT	"/sbin/dhclient-script"
45d60a
+#define _PATH_DHCLIENT_SCRIPT	"/usr/sbin/dhclient-script"
45d60a
 #endif
45d60a
 
45d60a
 #ifndef _PATH_DHCLIENT_PID