why the complication of a static string rather than a define? gcc isn't dumb

This commit is contained in:
Russ Dill
2003-12-16 02:30:53 +00:00
parent 4b77acafa6
commit 8b3845106a
3 changed files with 5 additions and 2 deletions

View File

@@ -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"