diff options
author | Russ Dill <Russ.Dill@asu.edu> | 2003-12-16 02:30:53 +0000 |
---|---|---|
committer | Russ Dill <Russ.Dill@asu.edu> | 2003-12-16 02:30:53 +0000 |
commit | 8b3845106a086ea78a24d7981ee41e76070e83fe (patch) | |
tree | a998a755c5f910484ce292ffe916f59027b89231 /networking/udhcp/dhcpd.h | |
parent | 4b77acafa6f8b907903ea4a140b7c4a314ed71b2 (diff) | |
download | busybox-w32-8b3845106a086ea78a24d7981ee41e76070e83fe.tar.gz busybox-w32-8b3845106a086ea78a24d7981ee41e76070e83fe.tar.bz2 busybox-w32-8b3845106a086ea78a24d7981ee41e76070e83fe.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index e219143cc..d53a809ca 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -5,7 +5,9 @@ | |||
5 | #include <netinet/ip.h> | 5 | #include <netinet/ip.h> |
6 | #include <netinet/udp.h> | 6 | #include <netinet/udp.h> |
7 | 7 | ||
8 | #include "libbb_udhcp.h" | ||
8 | #include "leases.h" | 9 | #include "leases.h" |
10 | #include "version.h" | ||
9 | 11 | ||
10 | /************************************/ | 12 | /************************************/ |
11 | /* Defaults _you_ may want to tweak */ | 13 | /* Defaults _you_ may want to tweak */ |
@@ -13,6 +15,7 @@ | |||
13 | 15 | ||
14 | /* the period of time the client is allowed to use that address */ | 16 | /* the period of time the client is allowed to use that address */ |
15 | #define LEASE_TIME (60*60*24*10) /* 10 days of seconds */ | 17 | #define LEASE_TIME (60*60*24*10) /* 10 days of seconds */ |
18 | #define LEASES_FILE "/var/lib/misc/udhcpd.leases" | ||
16 | 19 | ||
17 | /* where to find the DHCP server configuration file */ | 20 | /* where to find the DHCP server configuration file */ |
18 | #define DHCPD_CONF_FILE "/etc/udhcpd.conf" | 21 | #define DHCPD_CONF_FILE "/etc/udhcpd.conf" |