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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user