summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
authorRuss Dill2003-12-16 02:30:53 +0000
committerRuss Dill2003-12-16 02:30:53 +0000
commit8b3845106a086ea78a24d7981ee41e76070e83fe (patch)
treea998a755c5f910484ce292ffe916f59027b89231 /networking/udhcp/dhcpd.h
parent4b77acafa6f8b907903ea4a140b7c4a314ed71b2 (diff)
downloadbusybox-8b3845106a086ea78a24d7981ee41e76070e83fe.zip
busybox-8b3845106a086ea78a24d7981ee41e76070e83fe.tar.gz
why the complication of a static string rather than a define? gcc isn't dumb
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r--networking/udhcp/dhcpd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index e219143..d53a809 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -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"