Refresh nbr reachable state after received IPv6 unicast message
This commit is contained in:
parent
80e4ca7802
commit
0fb47d0a2d
3 changed files with 34 additions and 0 deletions
|
@ -84,6 +84,10 @@
|
|||
#include "rpl/rpl-private.h"
|
||||
#endif
|
||||
|
||||
#if UIP_ND6_SEND_NA
|
||||
#include "net/ipv6/uip-ds6-nbr.h"
|
||||
#endif /* UIP_ND6_SEND_NA */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -1150,6 +1154,11 @@ uip_process(uint8_t flag)
|
|||
goto drop;
|
||||
}
|
||||
|
||||
/* Refresh neighbor state after receiving a unicast message */
|
||||
#if UIP_ND6_SEND_NA
|
||||
uip_ds6_nbr_refresh_reachable_state(&UIP_IP_BUF->srcipaddr);
|
||||
#endif /* UIP_ND6_SEND_NA */
|
||||
|
||||
#if UIP_CONF_ROUTER
|
||||
/*
|
||||
* Next header field processing. In IPv6, we can have extension headers,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue