[mle-router] update #if for logging the router list to be conditional of log level (#2122)

This commit is contained in:
Abtin Keshavarzian
2017-08-22 09:38:06 -07:00
committed by Jonathan Hui
parent 91d1055d5a
commit cf8a789e24
+1 -1
View File
@@ -1610,7 +1610,7 @@ void MleRouter::UpdateRoutes(const RouteTlv &aRoute, uint8_t aRouterId)
}
while (update);
#if 1
#if (OPENTHREAD_CONFIG_LOG_MLE && (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_DEBG))
for (uint8_t i = 0; i <= kMaxRouterId; i++)
{