mirror of
https://github.com/esphome/esphome.git
synced 2025-09-29 16:42:19 +01:00
preen
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user