aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 12:03:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 12:03:12 +0200
commitcab3a0127c3e6b7fc4f794ba6abcb8e01492118e (patch)
treeea04fac708ea47e251066ea6782b6f743f04933d /networking/udhcp/files.c
parent56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (diff)
downloadbusybox-w32-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.tar.gz
busybox-w32-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.tar.bz2
busybox-w32-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.zip
udhcp: cleanup of static lease handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r--networking/udhcp/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c
index a69a7531b..f3899711c 100644
--- a/networking/udhcp/files.c
+++ b/networking/udhcp/files.c
@@ -268,9 +268,9 @@ static int FAST_FUNC read_staticlease(const char *const_line, void *arg)
268 ip_string = strtok_r(NULL, " \t", &line); 268 ip_string = strtok_r(NULL, " \t", &line);
269 read_nip(ip_string, &ip); 269 read_nip(ip_string, &ip);
270 270
271 addStaticLease(arg, (uint8_t*) &mac_bytes, ip); 271 add_static_lease(arg, (uint8_t*) &mac_bytes, ip);
272 272
273 if (ENABLE_UDHCP_DEBUG) printStaticLeases(arg); 273 if (ENABLE_UDHCP_DEBUG) print_static_leases(arg);
274 274
275 return 1; 275 return 1;
276} 276}