aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.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/dhcpd.c
parent56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (diff)
downloadbusybox-cab3a0127c3e6b7fc4f794ba6abcb8e01492118e.tar.gz
udhcp: cleanup of static lease handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r--networking/udhcp/dhcpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 09524e29c..5993042cd 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);