Merge pull request #2148 from niziak/master

native-border-router: fix for disappearing timer 'uip_ds6_timer_perio…
This commit is contained in:
Nicolas Tsiftes 2017-04-18 15:19:57 +02:00 committed by GitHub
commit 391a84726f

View file

@ -247,8 +247,10 @@ border_router_set_mac(const uint8_t *data)
/* is this ok - should instead remove all addresses and /* is this ok - should instead remove all addresses and
add them back again - a bit messy... ?*/ add them back again - a bit messy... ?*/
PROCESS_CONTEXT_BEGIN(&tcpip_process);
uip_ds6_init(); uip_ds6_init();
rpl_init(); rpl_init();
PROCESS_CONTEXT_END(&tcpip_process);
mac_set = 1; mac_set = 1;
} }