aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
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 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"