[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:
Li Cao
2025-09-29 18:13:22 -07:00
committed by GitHub
parent ef89b0832e
commit 96a733b433
+4 -1
View File
@@ -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);
}
}