Skip to content

Commit

Permalink
Merge pull request #2145 from cgundogan/rpl_fix_transit_buf_offset
Browse files Browse the repository at this point in the history
rpl: fix offset for transit buf
  • Loading branch information
OlegHahm committed Dec 5, 2014
2 parents b0d98dd + 8d31f8b commit 9b2c2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/routing/rpl/rpl_storing/rpl_storing.c
Expand Up @@ -679,7 +679,7 @@ void rpl_recv_DAO_mode(void)
break;
}

len += rpl_opt_target_buf->length + 2;
len += rpl_opt_target_buf->length;
rpl_opt_transit_buf = get_rpl_opt_transit_buf(len);

if (rpl_opt_transit_buf->type != RPL_OPT_TRANSIT) {
Expand Down

0 comments on commit 9b2c2dd

Please sign in to comment.