1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

gnrc_netif: remove misleading comment

The comment exists since the introduction of the [original
implementation], but its meaning is unclear and misleading, as the code
doesn't do anything with link-local.

[original implementation]: https://github.com/RIOT-OS/RIOT/pull/3561
This commit is contained in:
Martine S. Lenders 2020-01-10 18:13:58 +01:00
parent 46fd632e91
commit 85737a0436
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -1060,7 +1060,6 @@ static ipv6_addr_t *_src_addr_selection(gnrc_netif_t *netif,
return ptr;
}
/* Rule 2: Prefer appropriate scope. */
/* both link local */
uint8_t candidate_scope = _get_scope(ptr);
if (candidate_scope == dst_scope) {
DEBUG("winner for rule 2 (same scope) found\n");