Inserts missing IPv6 Hop-By-Hop RPL Option at first hop

This commit is contained in:
Sébastien Dawans 2013-07-31 22:39:00 +02:00
parent a07d332339
commit 78e807403c
3 changed files with 17 additions and 0 deletions

View file

@ -1557,6 +1557,10 @@ uip_process(uint8_t flag)
uip_appdata = &uip_buf[UIP_LLH_LEN + UIP_IPTCPH_LEN];
#if UIP_CONF_IPV6_RPL
rpl_insert_header();
#endif /* UIP_CONF_IPV6_RPL */
#if UIP_UDP_CHECKSUMS
/* Calculate UDP checksum. */
UIP_UDP_BUF->udpchksum = ~(uip_udpchksum());