Inserts missing IPv6 Hop-By-Hop RPL Option at first hop
This commit is contained in:
parent
a07d332339
commit
78e807403c
3 changed files with 17 additions and 0 deletions
|
@ -343,4 +343,16 @@ rpl_invert_header(void)
|
|||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
rpl_insert_header(void)
|
||||
{
|
||||
uint8_t uip_ext_opt_offset;
|
||||
if(default_instance != NULL) {
|
||||
uip_ext_opt_offset = 2;
|
||||
if(UIP_EXT_HDR_OPT_BUF->type == UIP_EXT_HDR_OPT_RPL) {
|
||||
rpl_update_header_empty();
|
||||
}
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue