diff options
author | Denys Vlasenko | 2009-06-16 12:03:12 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-16 12:03:12 +0200 |
commit | cab3a0127c3e6b7fc4f794ba6abcb8e01492118e (patch) | |
tree | ea04fac708ea47e251066ea6782b6f743f04933d /networking/udhcp/files.c | |
parent | 56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (diff) | |
download | busybox-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.zip busybox-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |