Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IPv6-only builds where platform LwIP has IPv4 (#10879)
#### Problem When LwIP is configured for IPv6 only, its type `ip_addr_t` is identical to `ip6_addr_t`; otherwise they are different. PR #10791 made the incorrect assumption that we would never build CHIP without IPv4 when then platform LwIP is configured with IPv4, and left out the constructor overload necessary for that case. #### Change overview Enable the `ip_addr_t` constructor if `LWIP_IPV4` is true. #### Testing Built ``` scripts/build/build_examples.py \ --target esp32-m5stack-all-clusters-ipv6only build` ```
- Loading branch information