Skip to content

Commit

Permalink
Do not add ack callback for multicast NS.
Browse files Browse the repository at this point in the history
Change-Id: Ife46529e7f15597604ded7c841736091882a7581
  • Loading branch information
Juha Heiskanen committed Apr 11, 2019
1 parent be18109 commit 609086d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Common_Protocols/icmpv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ buffer_t *icmpv6_build_ns(protocol_interface_info_entry_t *cur, const uint8_t ta
buf->ack_receive_cb = rpl_control_address_register_done;
}
}
if (!aro && cur->ipv6_neighbour_cache.omit_na) {
if (unicast && (!aro && cur->ipv6_neighbour_cache.omit_na)) {
/*MAC ACK is processed as success response*/
buf->ack_receive_cb = ack_receive_cb;
}
Expand Down

0 comments on commit 609086d

Please sign in to comment.