zephyr/net/ip
Jukka Rissanen 6ba3a02eed net: uip: Avoid casting warning when accessing link local addr
The uip_ds6_nbr_get_ll() returns const addr but we need to
overwrite the addr so cast is needed here.

The const pointer returned by nbr-table.c:nbr_table_get_lladdr(),
which is called by uip_ds6_nbr_get_ll(), actually points to
neighbor cache which is dynamic and will never be stored in read
only memory, and thus is safe to cast to non-const.

Change-Id: Ifb47e4cb75054b0a9717304dc1d0bc497fee1e87
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2016-02-05 20:14:20 -05:00
..
contiki net: uip: Avoid casting warning when accessing link local addr 2016-02-05 20:14:20 -05:00
Makefile net: Use our network buffers instead of global ones in Contiki 2016-02-05 20:14:20 -05:00
net_buf.c net: Simple socket API introduced 2016-02-05 20:14:20 -05:00
net_context.c net: Simple socket API introduced 2016-02-05 20:14:20 -05:00
net_init.c net: Simple socket API introduced 2016-02-05 20:14:20 -05:00