mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 23:15:37 +00:00
acd: reset conflict count to ensure fast re-probing after announcing
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
e09add37c1
commit
05ffe144dd
@ -260,6 +260,9 @@ acd_tmr(void)
|
||||
/* let acd user know that the address is good and can be used */
|
||||
acd->acd_conflict_callback(netif, ACD_IP_OK);
|
||||
|
||||
/* reset conflict count to ensure fast re-probing after announcing */
|
||||
acd->num_conflicts = 0;
|
||||
|
||||
LWIP_DEBUGF(ACD_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE,
|
||||
("acd_tmr(): changing state to ANNOUNCING: %"U16_F".%"U16_F".%"U16_F".%"U16_F"\n",
|
||||
ip4_addr1_16(&acd->ipaddr), ip4_addr2_16(&acd->ipaddr),
|
||||
|
Loading…
Reference in New Issue
Block a user