mirror of
https://github.com/esphome/esphome.git
synced 2025-10-09 13:23:47 +01:00
Refactor ip address representation (#5252)
This commit is contained in:
@@ -13,8 +13,7 @@ namespace mdns {
|
||||
void MDNSComponent::setup() {
|
||||
this->compile_records_();
|
||||
|
||||
network::IPAddress addr = network::get_ip_address();
|
||||
MDNS.begin(this->hostname_.c_str(), (uint32_t) addr);
|
||||
MDNS.begin(this->hostname_.c_str());
|
||||
|
||||
for (const auto &service : this->services_) {
|
||||
// Strip the leading underscore from the proto and service_type. While it is
|
||||
|
Reference in New Issue
Block a user