[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8683] Addresses configured with router advertisment
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #8683] Addresses configured with router advertisment are never forgot |
Date: |
Thu, 03 Sep 2015 18:31:04 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 |
Follow-up Comment #7, patch #8683 (project lwip):
> About NETIF_STATUS_CALLBACK, I'm not 100% sure how the API should work in
this case.
Isn't this part of what task #13517 wants to have fixed? For IPv4, the netif
status callback is called when the address changes (e.g. AutoIP or DHCP have
acquired an address), so I guess IPv6 should call it too when the address
change changes.
Another question would be how you would know exactly *what* has changed, but I
guess a "changed" callback is good enough for now.
However, in contrast to the patch, I would make netif_ip6_addr_set_state a
*function* in netif.c. (Reading the code IAR produces for Cortex-M3, I don't
think it's larger....)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8683>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/