Browse Source

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.
dev/timer
Johann Fischer 8 years ago committed by Johann F
parent
commit
b20a7b0a27
  1. 2
      sys/net/network_layer/sixlowpan/icmp.c

2
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);

Loading…
Cancel
Save