Skip to content
Snippets Groups Projects
Commit aec03a11 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #2995 from jfischer-phytec-iot/fix@ip-rm-addr-of-op

sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
parents 5ad4b1f9 fd72aaa9
No related branches found
No related tags found
No related merge requests found
......@@ -660,7 +660,7 @@ ipv6_net_if_hit_t *ipv6_net_if_addr_prefix_eq(ipv6_net_if_hit_t *hit,
while (net_if_iter_addresses(if_id, (net_if_addr_t **) &addr_entry)
!= NULL) {
if (addr_entry->addr_protocol & NET_IF_L3P_IPV6) {
if (memcmp(addr_entry->addr_data, &addr, 8) == 0) {
if (memcmp(addr_entry->addr_data, addr, 8) == 0) {
hit->if_id = if_id;
hit->addr = addr_entry;
return hit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment