From: qibin <2534086736@qq.com> Date: Tue, 19 Sep 2023 09:58:25 +0000 (+0800) Subject: 在jiemian更改IP,Modules进行重新连接时,没有获取新IP的bug X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=2a0bb5385b726ebc18d7a81c229c1f2fc5647d7e;p=zd%2Fzd-mcu.git 在jiemian更改IP,Modules进行重新连接时,没有获取新IP的bug --- diff --git a/Modules/hotcameramodule.cpp b/Modules/hotcameramodule.cpp index 96abeaac..3cd640f1 100644 --- a/Modules/hotcameramodule.cpp +++ b/Modules/hotcameramodule.cpp @@ -348,7 +348,7 @@ bool HotCameraModule::eventParaChangedCheck() moduleParaReadFromFile(&temp); if(temp.IP_Adress != para.IP_Adress){ - + net->SetIp(temp.IP_Adress); qDebug() << QString("<<<<< HotCameraModule[%1] IP_Adress changed net->KeepState() =%2\n").arg(id).arg(net->KeepState()); if(net->KeepState() == NET_CONNECTED){ qDebug() << QString("net%1->KeepReconnect...").arg(id);