[BusyBox-cvs] busybox/networking/udhcp dhcpd.h,1.3,1.4

Russ Dill russ at busybox.net
Tue Dec 16 02:29:48 UTC 2003


Update of /var/cvs/busybox/networking/udhcp
In directory nail:/tmp/cvs-serv7914

Modified Files:
	dhcpd.h 
Log Message:
why the complication of a static string rather than a define? gcc isn't dumb

Index: dhcpd.h
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/dhcpd.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dhcpd.h	10 Jun 2003 17:22:49 -0000	1.3
+++ dhcpd.h	16 Dec 2003 02:29:46 -0000	1.4
@@ -5,7 +5,9 @@
 #include <netinet/ip.h>
 #include <netinet/udp.h>
 
+#include "libbb_udhcp.h"
 #include "leases.h"
+#include "version.h"
 
 /************************************/
 /* Defaults _you_ may want to tweak */
@@ -13,6 +15,7 @@
 
 /* the period of time the client is allowed to use that address */
 #define LEASE_TIME              (60*60*24*10) /* 10 days of seconds */
+#define LEASES_FILE		"/var/lib/misc/udhcpd.leases"
 
 /* where to find the DHCP server configuration file */
 #define DHCPD_CONF_FILE         "/etc/udhcpd.conf"




More information about the busybox-cvs mailing list