1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #2257 from cgundogan/rpl_fix_srh_for_storing_mode

rpl: node-to-node communication broken (rpl_udp)
This commit is contained in:
Oleg Hahm 2015-01-13 18:49:14 +01:00
commit 34908f11a9

View File

@ -97,7 +97,9 @@ uint8_t rpl_init(int if_id)
ipv6_addr_set_link_local_prefix(&ll_address);
ipv6_net_if_get_best_src_addr(&my_address, &ll_address);
ipv6_register_rpl_handler(rpl_process_pid);
#if (RPL_DEFAULT_MOP == RPL_NON_STORING_MODE)
ipv6_iface_set_srh_indicator(rpl_is_root);
#endif
ipv6_iface_set_routing_provider(rpl_get_next_hop);
DEBUGF("All addresses set!\n");