From 417ca74a804cda3ea79a1bbf3dad1983d4fcc965 Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Tue, 19 Oct 2021 10:39:51 +0800 Subject: [PATCH] fix --- src/backend/dbus-interface/kylinconnectsetting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/dbus-interface/kylinconnectsetting.cpp b/src/backend/dbus-interface/kylinconnectsetting.cpp index a2b03a9e..88aeb57d 100644 --- a/src/backend/dbus-interface/kylinconnectsetting.cpp +++ b/src/backend/dbus-interface/kylinconnectsetting.cpp @@ -121,7 +121,7 @@ void KyConnectSetting::dumpInfo() qDebug()<<"ipv4 dns" << m_ipv4Dns.at(index).toString(); } - for (int index = 0 ; index << m_ipv6Address.size(); index++) { + for (int index = 0 ; index < m_ipv6Address.size(); index++) { qDebug()<<"ipv6 address" << m_ipv6Address.at(index).ip().toString(); qDebug()<<"ipv6 gate way" << m_ipv6Address.at(index).gateway().toString(); qDebug()<<"ipv6 net mask" << m_ipv6Address.at(index).netmask().toString();