lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #55252] Gratuitous ARP sent before valid ip address is


From: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #55252] Gratuitous ARP sent before valid ip address is obtained
Date: Fri, 18 Jan 2019 14:58:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #1, bug #55252 (project lwip):

This code does not seem to exist in git head or 2.1.2 - do you run a patched
version of lwIP or do I miss something??

Currently, the only usage of etharp_gratuitous() is here, and its encapsulated
with an ip4_addr_isany_val() check:

static void
netif_issue_reports(struct netif *netif, u8_t report_type)
{

[...]

#if LWIP_IPV4
  if ((report_type & NETIF_REPORT_TYPE_IPV4) &&
      !ip4_addr_isany_val(*netif_ip4_addr(netif))) {
#if LWIP_ARP && !LWIP_ACD
    /* For Ethernet network interfaces:
     * we would like to send a "gratuitous ARP".
     * Only needs to be done here if ACD isn't configured.
     */
    if (netif->flags & (NETIF_FLAG_ETHARP)) {
      etharp_gratuitous(netif);
    }


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55252>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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