Skip to content

Commit 425a04a

Browse files
author
Juha Heiskanen
committed
Fix Slaac Handler for not native IPv6 stack.
Change-Id: I99fa6556bd82f279609ca0d5f303096026c62274
1 parent 5722a4a commit 425a04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ipv6_stack/protocol_ipv6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ void ipv6_interface_slaac_handler(protocol_interface_info_entry_t *cur, const ui
969969
cur->ipv6_configure->IPv6_ND_state = IPV6_GP_CONFIG;
970970
}
971971
// If DAD not enabled address is valid right away
972-
if (cur->dup_addr_detect_transmits == 0) {
972+
if (cur->ipv6_configure && cur->dup_addr_detect_transmits == 0) {
973973
address_entry->cb(cur, address_entry, ADDR_CALLBACK_DAD_COMPLETE);
974974
}
975975
}

0 commit comments

Comments
 (0)