Skip to content

Commit

Permalink
Fix Slaac Handler for not native IPv6 stack.
Browse files Browse the repository at this point in the history
Change-Id: I99fa6556bd82f279609ca0d5f303096026c62274
  • Loading branch information
Juha Heiskanen committed Aug 28, 2019
1 parent 5722a4a commit 425a04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ipv6_stack/protocol_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ void ipv6_interface_slaac_handler(protocol_interface_info_entry_t *cur, const ui
cur->ipv6_configure->IPv6_ND_state = IPV6_GP_CONFIG;
}
// If DAD not enabled address is valid right away
if (cur->dup_addr_detect_transmits == 0) {
if (cur->ipv6_configure && cur->dup_addr_detect_transmits == 0) {
address_entry->cb(cur, address_entry, ADDR_CALLBACK_DAD_COMPLETE);
}
}
Expand Down

0 comments on commit 425a04a

Please sign in to comment.