diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-30 19:31:27 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-30 19:31:27 -0600 |
commit | 0b57381b6d7bf18d2ed7cf3c012b5dc020ac07b4 (patch) | |
tree | fed34a9495929677a160f24400f7d68f45c43650 /apps/netutils/dhcpd/dhcpd.c | |
parent | bb26dbb5fdcdea282c5f3b76dd9e00bfbce92862 (diff) | |
download | px4-nuttx-0b57381b6d7bf18d2ed7cf3c012b5dc020ac07b4.tar.gz px4-nuttx-0b57381b6d7bf18d2ed7cf3c012b5dc020ac07b4.tar.bz2 px4-nuttx-0b57381b6d7bf18d2ed7cf3c012b5dc020ac07b4.zip |
DHCPD: Missed name change uip_lock->net_lock
Diffstat (limited to 'apps/netutils/dhcpd/dhcpd.c')
-rw-r--r-- | apps/netutils/dhcpd/dhcpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |