From 3edddaf1703d26539b51f21a6a94d5c06a3747da Mon Sep 17 00:00:00 2001 From: russ Date: Tue, 16 Dec 2003 02:30:53 +0000 Subject: why the complication of a static string rather than a define? gcc isn't dumb git-svn-id: svn://busybox.net/trunk/busybox@8097 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/udhcp/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp/files.c') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 0597dc310..23d8c0094 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -167,7 +167,7 @@ static const struct config_keyword keywords[] = { {"conflict_time",read_u32,&(server_config.conflict_time),"3600"}, {"offer_time", read_u32, &(server_config.offer_time), "60"}, {"min_lease", read_u32, &(server_config.min_lease), "60"}, - {"lease_file", read_str, &(server_config.lease_file), leases_file}, + {"lease_file", read_str, &(server_config.lease_file), LEASES_FILE}, {"pidfile", read_str, &(server_config.pidfile), "/var/run/udhcpd.pid"}, {"notify_file", read_str, &(server_config.notify_file), ""}, {"siaddr", read_ip, &(server_config.siaddr), "0.0.0.0"}, -- cgit v1.2.3-55-g6feb