aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/serverpacket.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/serverpacket.c')
-rw-r--r--networking/udhcp/serverpacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c
index 294a6a666..5aa494ba1 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -120,7 +120,7 @@ int FAST_FUNC send_offer(struct dhcpMessage *oldpacket)
120 120
121 init_packet(&packet, oldpacket, DHCPOFFER); 121 init_packet(&packet, oldpacket, DHCPOFFER);
122 122
123 static_lease_ip = getIpByMac(server_config.static_leases, oldpacket->chaddr); 123 static_lease_ip = get_static_nip_by_mac(server_config.static_leases, oldpacket->chaddr);
124 124
125 /* ADDME: if static, short circuit */ 125 /* ADDME: if static, short circuit */
126 if (!static_lease_ip) { 126 if (!static_lease_ip) {