From b20a7b0a2733e569f19c454e93e9e9a1cc44eabb Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Mon, 4 May 2015 19:11:38 +0200 Subject: [PATCH] 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. --- sys/net/network_layer/sixlowpan/icmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/network_layer/sixlowpan/icmp.c b/sys/net/network_layer/sixlowpan/icmp.c index 391bf81b3a..40b8415e84 100644 --- a/sys/net/network_layer/sixlowpan/icmp.c +++ b/sys/net/network_layer/sixlowpan/icmp.c @@ -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);