philipp / rpms / dhcp

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