projects
/
zd
/
zd-mcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5d776
)
在jiemian更改IP,Modules进行重新连接时,没有获取新IP的bug
author
qibin
<2534086736@qq.com>
Tue, 19 Sep 2023 09:58:25 +0000
(17:58 +0800)
committer
qibin
<2534086736@qq.com>
Tue, 19 Sep 2023 09:58:25 +0000
(17:58 +0800)
Modules/hotcameramodule.cpp
patch
|
blob
|
history
diff --git
a/Modules/hotcameramodule.cpp
b/Modules/hotcameramodule.cpp
index 96abeaac7fefcfadf0ad65aa51bc0d3b0c01b1e1..3cd640f1dcea69199e37fa16bceacab272221988 100644
(file)
--- 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);