mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 08:07:47 +00:00
[mle] do not clear address query cache when switching to the router role (#2529)
This commit is contained in:
committed by
Jonathan Hui
parent
2b7298bf9b
commit
49b4f84685
@@ -441,7 +441,6 @@ otError MleRouter::SetStateRouter(uint16_t aRloc16)
|
||||
netif.GetIp6().SetForwardingEnabled(true);
|
||||
netif.GetIp6().GetMpl().SetTimerExpirations(kMplRouterDataMessageTimerExpirations);
|
||||
netif.GetMac().SetBeaconEnabled(true);
|
||||
netif.GetAddressResolver().Clear();
|
||||
|
||||
// clear router table
|
||||
for (int i = 0; i <= kMaxRouterId; i++)
|
||||
|
||||
Reference in New Issue
Block a user