|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #28877] Duplicate ARP gratuitous packet with LWIP_NETIF_LINK_CALLBACK set ON |
Date: | Fri, 12 Feb 2010 16:50:28 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 |
Follow-up Comment #1, bug #28877 (project lwip): What about this: if (netif->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP)) { etharp_gratuitous(netif); } Since netif_set_link_up() does it the same way (only sending if netif is up), only the latter of both (set_up and set_link_up) would issue the gratuitous ARP. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28877> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |