DHCPD: Missed name change uip_lock->net_lock

This commit is contained in:
Gregory Nutt 2014-06-30 19:31:27 -06:00
parent f4f30498f8
commit 44ea3903f9

View File

@ -270,15 +270,15 @@ static struct dhcpd_state_s g_state;
#ifndef CONFIG_NETUTILS_DHCPD_HOST
static inline void dhcpd_arpupdate(uint16_t *pipaddr, uint8_t *phwaddr)
{
uip_lock_t flags;
net_lock_t flags;
/* Disable interrupts and update the ARP table -- very non-portable hack.
* REVISIT -- switch to the SIOCSARP ioctl call if/when it is implemented.
*/
flags = uip_lock();
flags = net_lock();
arp_update(pipaddr, phwaddr);
uip_unlock(flags);
net_unlock(flags);
}
#else
# define dhcpd_arpupdate(pipaddr,phwaddr)