修正sockfd没有初始化的问题
This commit is contained in:
@@ -1460,7 +1460,7 @@ static void* thread_tfe_cmsg_receiver(void *args){
|
||||
uint32_t listen_ip;
|
||||
int listen_port = -1;
|
||||
char buff[KNI_MTU];
|
||||
int sockfd;
|
||||
int sockfd = 0;
|
||||
struct sockaddr_in server_addr, client_addr;
|
||||
int ret = MESA_load_profile_string_nodef(profile, section, "listen_eth", listen_eth, sizeof(listen_eth));
|
||||
if(ret < 0){
|
||||
|
||||
Reference in New Issue
Block a user