Set the R flag in NAs if UIP_CONF_ROUTER

This commit is contained in:
Mariano Alvira 2012-05-10 16:32:55 -04:00
parent 55ff294aef
commit 65719adc93

View file

@ -278,6 +278,10 @@ uip_nd6_ns_input(void)
create_na:
/* If the node is a router it should set R flag in NAs */
#if UIP_CONF_ROUTER
flags = flags | UIP_ND6_NA_FLAG_ROUTER;
#endif
uip_ext_len = 0;
UIP_IP_BUF->vtc = 0x60;
UIP_IP_BUF->tcflow = 0;