From cab3a0127c3e6b7fc4f794ba6abcb8e01492118e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 16 Jun 2009 12:03:12 +0200 Subject: udhcp: cleanup of static lease handling Signed-off-by: Denys Vlasenko --- networking/udhcp/files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/files.c') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index a69a753..f389971 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) ip_string = strtok_r(NULL, " \t", &line); read_nip(ip_string, &ip); - addStaticLease(arg, (uint8_t*) &mac_bytes, ip); + add_static_lease(arg, (uint8_t*) &mac_bytes, ip); - if (ENABLE_UDHCP_DEBUG) printStaticLeases(arg); + if (ENABLE_UDHCP_DEBUG) print_static_leases(arg); return 1; } -- cgit v1.1