Fixed ETH_EMPTY into ETHARP_STABLE_EMPTY.

This commit is contained in:
likewise 2004-05-06 02:54:06 +00:00
parent fb1f61b212
commit 16a7a8258f

View File

@ -293,11 +293,11 @@ static s8_t find_entry(struct ip_addr *ipaddr, u8_t flags)
/* allowed to recycle a entry? */
if (flags & ETHARP_CREATE) {
/* recycle (no-op for an already empty entry) */
arp_table[i].state = ARP_EMPTY;
arp_table[i].state = ETHARP_STATE_EMPTY;
}
/* empty entry found or created? */
if (arp_table[i].state == ARP_EMPTY) {
if (arp_table[i].state == ETHARP_STATE_EMPTY) {
/* IP address given? */
if (ipaddr != NULL) {
/* set IP address */