uIPv6: Make sure dest address is not multicast before refreshing the state of a neighbor
This commit is contained in:
parent
0fb47d0a2d
commit
373e5653e6
@ -1156,7 +1156,9 @@ uip_process(uint8_t flag)
|
|||||||
|
|
||||||
/* Refresh neighbor state after receiving a unicast message */
|
/* Refresh neighbor state after receiving a unicast message */
|
||||||
#if UIP_ND6_SEND_NA
|
#if UIP_ND6_SEND_NA
|
||||||
uip_ds6_nbr_refresh_reachable_state(&UIP_IP_BUF->srcipaddr);
|
if(!uip_is_addr_mcast(&UIP_IP_BUF->destipaddr)) {
|
||||||
|
uip_ds6_nbr_refresh_reachable_state(&UIP_IP_BUF->srcipaddr);
|
||||||
|
}
|
||||||
#endif /* UIP_ND6_SEND_NA */
|
#endif /* UIP_ND6_SEND_NA */
|
||||||
|
|
||||||
#if UIP_CONF_ROUTER
|
#if UIP_CONF_ROUTER
|
||||||
|
Loading…
Reference in New Issue
Block a user