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
..
2018-03-06 14:00:32 +01:00
2019-11-23 22:39:38 +01:00
2019-11-23 22:39:38 +01:00
2018-06-11 19:12:02 +02:00
2015-08-30 14:00:33 +02:00