mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-12 09:55:55 +08:00

netutils/dhcpd: Fixes bug where hwaddr was being used instead of ipaddr in the ARP update. This bug seems to have been introduced 3 years ago during a rewrite to remove a direct OS call to arp. I'm not sure how others have not run into issues with this. The behavior I was observing was that the DHCPD would go to offer an IP address, but then send a ARP request for the IP instead because it didn't know where to send the data. Approved-by: Gregory Nutt <gnutt@nuttx.org>