Browse Source

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
dev/timer
Oleg Hahm 8 years ago
parent
commit
aec03a11ee
  1. 2
      sys/net/network_layer/sixlowpan/ip.c

2
sys/net/network_layer/sixlowpan/ip.c

@ -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;

Loading…
Cancel
Save