root 7 лет назад
Родитель
Сommit
4463e21d9e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -1787,9 +1787,9 @@ int main(int argc, char *argv[])
 #else
 	{
 		//strncpy(remote_ip,remote_address,sizeof(remote_ip)-1);
-		mylog(log_info,"remote_ip=[%s], make sure this is a vaild IP address\n",remote_ip);
 		strcpy(remote_ip,remote_address);
 		remote_ip_uint32=inet_addr(remote_ip);
+		mylog(log_info,"remote_ip=[%s], make sure this is a vaild IP address\n",remote_ip);
 	}
 #endif