Skip to content

Commit

Permalink
FW-462. fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
changtengfei committed Feb 4, 2016
1 parent 5a3f8a5 commit cb97e0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openstack/03b-IPv6/icmpv6rpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ void icmpv6rpl_receive(OpenQueueEntry_t* msg) {
// update neighbor table
neighbors_indicateRxDIO(msg);

memcpy(
&(icmpv6rpl_vars.dio),
(icmpv6rpl_dio_ht*)(msg->payload),
sizeof(icmpv6rpl_dio_ht)
);

// write DODAGID in DIO and DAO
icmpv6rpl_writeDODAGid(&(((icmpv6rpl_dio_ht*)(msg->payload))->DODAGID[0]));

Expand Down

0 comments on commit cb97e0c

Please sign in to comment.