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
..
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:40 +01:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:37 +01:00
2018-06-11 19:12:02 +02:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:37 +01:00
2019-05-16 12:01:36 +02:00
2019-11-23 22:39:37 +01:00
2019-12-05 15:39:24 +01:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:38 +01:00
2019-09-09 20:27:16 +02:00
2019-11-23 22:39:38 +01:00
2019-09-13 11:37:44 +02:00
2019-11-23 22:39:38 +01:00
2019-11-23 22:39:07 +01:00
2018-08-24 18:14:03 +02:00
2019-06-05 17:10:26 +02:00
2018-10-03 10:44:14 +02:00
2019-04-12 15:51:15 +02:00
2019-11-07 13:04:46 +01:00