Commit 363145b7 authored by 黄振令's avatar 黄振令

【修改内容】在主机上获取ip地址失败,修改为自动找网卡获取ip

【提交人】huabng.zhenling
parent 1984c81c
......@@ -462,7 +462,7 @@ void *udp_dispatch_yield(void *args){
memset(host_ip, 0, sizeof(host_ip));
memset(mac, 0, sizeof(mac));
memset(szOut, 0, sizeof(szOut));
HAL_Get_IP(host_ip,"ens33");
HAL_Get_IP(host_ip,NULL);
HAL_GetDevice_Code(device_code);
sprintf(szOut,"search_kk_ccu_ack|deviceCode=%s;ip=%s;port=%d",device_code,host_ip,16565);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment