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/serverpacket.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/serverpacket.c')
-rw-r--r-- | networking/udhcp/serverpacket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c index 294a6a6..5aa494b 100644 --- a/networking/udhcp/serverpacket.c +++ b/networking/udhcp/serverpacket.c @@ -120,7 +120,7 @@ int FAST_FUNC send_offer(struct dhcpMessage *oldpacket) init_packet(&packet, oldpacket, DHCPOFFER); - static_lease_ip = getIpByMac(server_config.static_leases, oldpacket->chaddr); + static_lease_ip = get_static_nip_by_mac(server_config.static_leases, oldpacket->chaddr); /* ADDME: if static, short circuit */ if (!static_lease_ip) { |