fix:lwip_imp:fix the __lwip_recvfrom function, which transform the address error
@@ -122,7 +122,7 @@ static int __lwip_recvfrom(int fd, void *msg, int len, int flag, struct sockaddr
ret = lwip_recvfrom(fd, msg, len,flag,addr,addrlen);
memcpy(buf,addr,2);
- family = buf[2];
+ family = buf[1];
memcpy(addr,&family,2);
return ret;
