1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter

Inside the function recv_rtr_adv, ndp_add_prefix_info was called
with the wrong parameter.
This commit is contained in:
Johann Fischer 2015-05-04 19:11:38 +02:00 committed by Johann F
parent 2bc7c4ba5f
commit b20a7b0a27

View File

@ -832,7 +832,7 @@ void recv_rtr_adv(void)
}
}
ndp_add_prefix_info(if_id, &opt_pi_buf->addr, opt_pi_buf->length,
ndp_add_prefix_info(if_id, &opt_pi_buf->addr, opt_pi_buf->prefix_length,
opt_pi_buf->val_ltime, opt_pi_buf->pref_ltime,
0, opt_pi_buf->l_a_reserved1);