mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
gnrc_ipv6_nib: fix retrans. timeout unit for address re-registration
This commit is contained in:
parent
460d3c44fe
commit
8c4eb43701
@ -230,7 +230,7 @@ void _handle_rereg_address(const ipv6_addr_t *addr)
|
|||||||
uint32_t retrans_time;
|
uint32_t retrans_time;
|
||||||
|
|
||||||
if (_is_valid(netif, idx)) {
|
if (_is_valid(netif, idx)) {
|
||||||
retrans_time = SIXLOWPAN_ND_MAX_RS_SEC_INTERVAL;
|
retrans_time = SIXLOWPAN_ND_MAX_RS_SEC_INTERVAL * MS_PER_SEC;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
retrans_time = netif->ipv6.retrans_time;
|
retrans_time = netif->ipv6.retrans_time;
|
||||||
|
Loading…
Reference in New Issue
Block a user