summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
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/files.c
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/files.c')
-rw-r--r--networking/udhcp/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c
index 0597dc3..23d8c00 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"},