Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18cebe28 authored by Hungming Chen's avatar Hungming Chen
Browse files

Change logging level from ERROR to INFO for no DNS64 prefix

Actually, it is not an error because the network environment
may not have a NAT64 server.

Test: atest
Change-Id: Id7ad35914ac9736c9c465dce9f7b21fdffe76fa7
parent fe5b82ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ void ResolverController::stopPrefix64Discovery(int32_t netId) {
int ResolverController::getPrefix64(unsigned netId, netdutils::IPPrefix* prefix) {
    netdutils::IPPrefix p = mDns64Configuration.getPrefix64(netId);
    if (p.family() != AF_INET6 || p.length() == 0) {
        LOG(ERROR) << "No valid NAT64 prefix (" << netId << ", " << p.toString().c_str() << ")";
        LOG(INFO) << "No valid NAT64 prefix (" << netId << ", " << p.toString().c_str() << ")";

        return -ENOENT;
    }