mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
removing possible invalid check
Checking for a link local address to determine if a node is on-link is probably not a valid assumption in most wireless networks.
This commit is contained in:
parent
0c9fd83693
commit
72e1c667a7
@ -1522,10 +1522,6 @@ int ndp_addr_is_on_link(ipv6_addr_t *dest_addr)
|
||||
ndp_neighbor_cache_t *nce;
|
||||
int if_id = -1;
|
||||
|
||||
if (ipv6_addr_is_link_local(dest_addr)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ((nce = ndp_neighbor_cache_search(dest_addr))) {
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user