From 0b57381b6d7bf18d2ed7cf3c012b5dc020ac07b4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 30 Jun 2014 19:31:27 -0600 Subject: DHCPD: Missed name change uip_lock->net_lock --- apps/netutils/dhcpd/dhcpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/netutils') diff --git a/apps/netutils/dhcpd/dhcpd.c b/apps/netutils/dhcpd/dhcpd.c index edc9195d0..d13d7cee5 100644 --- a/apps/netutils/dhcpd/dhcpd.c +++ b/apps/netutils/dhcpd/dhcpd.c @@ -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) -- cgit v1.2.3