"Fix" bug #49078: lwip cannot establish ipv6 connection, because of failed to fill ipv6 source address in Neighbor Solicitation Message by adding a note to netif_add not to forget to create a link-local IPv6 address

This commit is contained in:
Dirk Ziegelmeier 2016-09-29 12:02:50 +02:00
parent 40846260b5
commit 65796cd827

View File

@ -228,9 +228,12 @@ netif_input(struct pbuf *p, struct netif *inp)
* to decide whether to forward to ethernet_input() or ip_input().
* In other words, the functions only work when the netif
* driver is implemented correctly!\n
* Members of struct netif should be be initialized by the
* netif init function = netif driver (init parameter of this function).
*
* Most members of struct netif should be be initialized by the
* netif init function = netif driver (init parameter of this function).\n
* IPv6: Don't forget to call netif_create_ip6_linklocal_address() after
* setting the MAC address in struct netif.hwaddr
* (IPv6 requires a link-local address).
*
* @return netif, or NULL if failed.
*/
struct netif *