mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
RPL insert_srh_header: return success when no SRH is needed because the destination is a direct child
This commit is contained in:
parent
d73b229624
commit
00f2344b4a
@ -378,7 +378,7 @@ insert_srh_header(void)
|
||||
|
||||
if(node == root_node) {
|
||||
PRINTF("RPL: SRH no need to insert SRH\n");
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
while(node != NULL && node != root_node) {
|
||||
|
Loading…
Reference in New Issue
Block a user