mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 10:27:49 +00:00
[routing-manager] remove confusing log of nat64 prefix discovery (#11973)
Note that `otPlatInfraIfDiscoverNat64Prefix` has an empty implementation now and it always returns UNIMPLEMENTED error. So now we constantly see the warn log on devices, which is confusing.
This commit is contained in:
@@ -4318,7 +4318,10 @@ void RoutingManager::Nat64PrefixManager::Discover(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
LogWarn("Failed to discover infraif NAT64 prefix: %s", ErrorToString(error));
|
||||
if (error != kErrorNotImplemented)
|
||||
{
|
||||
LogWarn("Failed to discover infraif NAT64 prefix: %s", ErrorToString(error));
|
||||
}
|
||||
Get<RoutingManager>().ScheduleRoutingPolicyEvaluation(kAfterRandomDelay);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user