RPL insert_srh_header: return success when no SRH is needed because the destination is a direct child

This commit is contained in:
Simon Duquennoy 2016-06-28 14:59:23 +02:00
parent d73b229624
commit 00f2344b4a

View file

@ -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) {