ipv6多dns显示问题

This commit is contained in:
jzxc95 2023-05-12 15:21:32 +08:00
parent 95b06fe467
commit d6ad1677db
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ void NetDetail::getStaticIpInfo(ConInfo &conInfo, bool bActived)
if (connetSetting.m_ipv6Dns.size() == 1) {
conInfo.strIPV6FirDns = connetSetting.m_ipv6Dns.at(0).toString();
} else if (connetSetting.m_ipv4Dns.size() > 1) {
} else if (connetSetting.m_ipv6Dns.size() > 1) {
conInfo.strIPV6FirDns = connetSetting.m_ipv6Dns.at(0).toString();
conInfo.strIPV6SecDns = connetSetting.m_ipv6Dns.at(1).toString();
}