1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/gnrc/network_layer/ipv6
Martine Lenders 159accff37 gnrc_ipv6: fix source check for loopback address
When the destination address is the loopback address (`::1`) in GNRC
the selected network interface typically is `NULL`, as with GNRC no
loopback interface de facto exists. So the assertion when checking if
the source address is valid if `netif != NULL` fails on that check.
This change fixes that issue by checking if the destination address is
the loopback address, before checking the validity of the source
address.
2019-12-05 23:38:53 +01:00
..
blacklist gnrc: fix build of gnrc_ipv6_blacklist when ENABLE_DEBUG is disabled 2018-04-06 14:48:32 +02:00
ext sys/net: fix typos 2019-11-23 22:39:38 +01:00
hdr sys: net: adapt to compile-checked debug messages 2018-01-15 14:37:04 +01:00
nib sys/net: fix typos 2019-11-23 22:39:38 +01:00
whitelist sys: net: adapt to compile-checked debug messages 2018-01-15 14:37:04 +01:00
gnrc_ipv6.c gnrc_ipv6: fix source check for loopback address 2019-12-05 23:38:53 +01:00
Makefile gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00