1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00
This commit is contained in:
René Kijewski 2014-03-19 14:56:35 +01:00
parent b23e157b54
commit d6ad19b410

View File

@ -726,7 +726,8 @@ void recv_rtr_adv(void)
if (rtr_adv_buf->reachable_time != 0) {
ipv6_net_if_ext_t *iface;
if ((iface = ipv6_net_if_get_ext(if_id)) == NULL) {
iface = ipv6_net_if_get_ext(if_id);
if (iface) {
iface->adv_reachable_time = NTOHL(rtr_adv_buf->reachable_time);
}
}
@ -734,7 +735,8 @@ void recv_rtr_adv(void)
if (rtr_adv_buf->retrans_timer != 0) {
ipv6_net_if_ext_t *iface;
if ((iface = ipv6_net_if_get_ext(if_id)) == NULL) {
iface = ipv6_net_if_get_ext(if_id);
if (iface) {
iface->adv_retrans_timer = NTOHL(rtr_adv_buf->retrans_timer);
}
}