lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] ARP table fix


From: Leon Woestenberg
Subject: Re: [lwip-users] ARP table fix
Date: Thu, 25 Nov 2004 14:38:03 +0100

Hello Paul,

On Thu, 25 Nov 2004 09:38:24 +1030, "Paul Clarke"
<address@hidden> said:
> Hi,
> 
> The cvs etharp code fills the arp table with all network broadcast tcp/ip
> packets. 

This would be a bug in etharp.c or ip_addr_*(). Please see why your IP
addresses
would fall through this if statement:

---
update_arp_entry()

  /* non-unicast address? */
  if (ip_addr_isany(ipaddr) ||
      ip_addr_isbroadcast(ipaddr, netif) ||
      ip_addr_ismulticast(ipaddr)) {
    LWIP_DEBUGF(ETHARP_DEBUG | DBG_TRACE, ("update_arp_entry: will not
    add non-unicast IP address to ARP cache\n"));
    return ERR_ARG;
  }
---

Regards,

Leon Woestenberg.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]