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/dhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp/dhcpd.c') diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 09524e2..5993042 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -166,7 +166,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) } /* Look for a static lease */ - static_lease_ip = getIpByMac(server_config.static_leases, &packet.chaddr); + static_lease_ip = get_static_nip_by_mac(server_config.static_leases, &packet.chaddr); if (static_lease_ip) { bb_info_msg("Found static lease: %x", static_lease_ip); -- cgit v1.1