1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Remove some explicit IPAddress casts (#5639)

This commit is contained in:
Jimmy Hedman
2023-10-31 22:32:29 +01:00
committed by GitHub
parent b03eb5ea0a
commit 9adda8085a
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ void CaptivePortal::start() {
this->dns_server_ = make_unique<DNSServer>();
this->dns_server_->setErrorReplyCode(DNSReplyCode::NoError);
network::IPAddress ip = wifi::global_wifi_component->wifi_soft_ap_ip();
this->dns_server_->start(53, "*", IPAddress(ip));
this->dns_server_->start(53, "*", ip);
#endif
this->base_->get_server()->onNotFound([this](AsyncWebServerRequest *req) {