diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 12:03:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 12:03:12 +0200 |
commit | cab3a0127c3e6b7fc4f794ba6abcb8e01492118e (patch) | |
tree | ea04fac708ea47e251066ea6782b6f743f04933d /networking/udhcp/dhcpd.c | |
parent | 56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (diff) | |
download | busybox-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/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 2 |
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) | |||
166 | } | 166 | } |
167 | 167 | ||
168 | /* Look for a static lease */ | 168 | /* Look for a static lease */ |
169 | static_lease_ip = getIpByMac(server_config.static_leases, &packet.chaddr); | 169 | static_lease_ip = get_static_nip_by_mac(server_config.static_leases, &packet.chaddr); |
170 | if (static_lease_ip) { | 170 | if (static_lease_ip) { |
171 | bb_info_msg("Found static lease: %x", static_lease_ip); | 171 | bb_info_msg("Found static lease: %x", static_lease_ip); |
172 | 172 | ||