Sfoglia il codice sorgente

List friendly address in dump_config()

Oxan van Leeuwen 3 anni fa
parent
commit
b50ffcdc5b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      components/stream_server/stream_server.cpp

+ 1 - 1
components/stream_server/stream_server.cpp

@@ -52,7 +52,7 @@ void StreamServerComponent::loop() {
 
 void StreamServerComponent::dump_config() {
     ESP_LOGCONFIG(TAG, "Stream Server:");
-    ESP_LOGCONFIG(TAG, "  Address: %s:%u", esphome::network::get_ip_address().str().c_str(), this->port_);
+    ESP_LOGCONFIG(TAG, "  Address: %s:%u", esphome::network::get_use_address().c_str(), this->port_);
 }
 
 void StreamServerComponent::on_shutdown() {