Parcourir la source

当获取IP失败时,设置IP=127.0.0.1

scbc.sat2 il y a 5 ans
Parent
commit
968f294fa2
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      SATService/SATService/Global.cpp

+ 4 - 0
SATService/SATService/Global.cpp

@@ -1300,6 +1300,10 @@ namespace GLOBAL
 				pIpAdapterInfo = pIpAdapterInfo->Next;
 			}
 		}
+		else{
+			WriteTextLog(SAT_NOR, "▽鳳龰IP華硊囮啖ㄩ%ld▼", nRel);	
+			g_strIPAddress = _T("127.0.0.1");
+		}
 
 		// 庋溫囀湔諾潔 
 		if (pIpAdapterInfo)