1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-29 16:42:19 +01:00
This commit is contained in:
J. Nick Koston
2025-09-27 12:48:09 -05:00
parent 0356081961
commit 29943bfef1

View File

@@ -15,11 +15,13 @@ class DNSServer {
void process_next_request();
protected:
static constexpr size_t DNS_BUFFER_SIZE = 256;
void process_dns_request();
std::unique_ptr<socket::Socket> socket_{nullptr};
network::IPAddress server_ip_;
uint8_t buffer_[256]; // DNS_MAX_LEN
uint8_t buffer_[DNS_BUFFER_SIZE];
};
} // namespace esphome::captive_portal