fixed so that nbr policy for RPL Root do not save room for parents

This commit is contained in:
Joakim Eriksson 2015-09-22 22:12:06 +02:00
parent 1fcef0f90d
commit 13b8c04c6f
2 changed files with 12 additions and 5 deletions

View file

@ -820,7 +820,7 @@ dao_input(void)
PRINTF("RPL: adding DAO route\n");
/* Update and add neighbor - if no room - fail. */
if((nbr = rpl_icmp6_update_nbr_table(&dao_sender_addr, NBR_TABLE_REASON_RPL_DAO, NULL)) == NULL) {
if((nbr = rpl_icmp6_update_nbr_table(&dao_sender_addr, NBR_TABLE_REASON_RPL_DAO, instance)) == NULL) {
PRINTF("RPL: Out of Memory, dropping DAO from ");
PRINT6ADDR(&dao_sender_addr);
PRINTF(", ");