zephyr/net
Sebastien Griffoul 57cd9939d6 net: ipv6: Fix lladdr state set to a wrong value
The line below is wrong and useless:
	lladdr->state = ADDR_AUTOCONF;

Indeed the three possible values for the state attribute are:
ADDR_TENTATIVE, ADDR_PREFERRED or ADDR_DEPRECATED. ADDR_AUTOCONF
is one possible value for the type attribute.

Moreover uip_ds6_set_lladdr already set the type attribute to
ADDR_AUTOCONF (this done through the call to the function
uip_ds6_addr_add).

Therefore this issue has been simply fixed by removing the line.

Change-Id: I432b7bb6a6a858264bb634f2e4d253f55acbbd5b
Signed-off-by: Sebastien Griffoul <sebastien.griffoul@intel.com>
2016-05-26 12:24:12 +00:00
..
bluetooth Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
ip net: ipv6: Fix lladdr state set to a wrong value 2016-05-26 12:24:12 +00:00
buf.c net: buf: Add net_buf_pull_le32() helper API 2016-05-15 19:39:14 +00:00
Kconfig net: buf: Fix net buf debug 2016-02-05 20:24:47 -05:00
Makefile net: Add initial generic buffer implementation 2016-02-05 20:24:38 -05:00