diff --git a/CHANGELOG.md b/CHANGELOG.md index 968dc455..01e96218 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Fixed +- Fix compile error when using smoltcp `DNS_MAX_RESULT_COUNT` values other than 1 ### Changed diff --git a/esp-wifi/src/wifi_interface.rs b/esp-wifi/src/wifi_interface.rs index 7247e084..950d9fc3 100644 --- a/esp-wifi/src/wifi_interface.rs +++ b/esp-wifi/src/wifi_interface.rs @@ -374,7 +374,8 @@ impl<'a, MODE: WifiDeviceMode> WifiStack<'a, MODE> { &self, name: &str, query_type: DnsQueryType, - ) -> Result, WifiStackError> { + ) -> Result, WifiStackError> + { use smoltcp::socket::dns; match query_type {