Feature/sync lwip as submodule

This commit is contained in:
Zhang Yan Jiao
2018-09-06 19:43:08 +08:00
committed by Jiang Jiang Jian
parent de0e9a1e05
commit 3578fe39e0
209 changed files with 81 additions and 84047 deletions

View File

@@ -125,7 +125,7 @@ static int socket_add_ipv4_multicast_group(int sock, bool assign_source_if)
ESP_LOGE(V4TAG, "Failed to get IP address info. Error 0x%x", err);
goto err;
}
inet_addr_from_ipaddr(&iaddr, &ip_info.ip);
inet_addr_from_ip4addr(&iaddr, &ip_info.ip);
#endif
// Configure multicast address to listen to
err = inet_aton(MULTICAST_IPV4_ADDR, &imreq.imr_multiaddr.s_addr);