[mle] do not clear address query cache when switching to the router role (#2529)

This commit is contained in:
Łukasz Duda
2018-02-02 17:08:04 +00:00
committed by Jonathan Hui
parent 2b7298bf9b
commit 49b4f84685
-1
View File
@@ -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++)