@@ -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)