We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2abbc36 commit 42aa983Copy full SHA for 42aa983
libraries/DNSServer/src/DNSServer.cpp
@@ -144,17 +144,9 @@ void DNSServer::replyWithIP()
144
145
146
147
- #ifdef DEBUG
148
- DEBUG_OUTPUT.print("DNS responds: ");
149
- DEBUG_OUTPUT.print(_resolvedIP[0]);
150
- DEBUG_OUTPUT.print(".");
151
- DEBUG_OUTPUT.print(_resolvedIP[1]);
152
153
- DEBUG_OUTPUT.print(_resolvedIP[2]);
154
155
- DEBUG_OUTPUT.print(_resolvedIP[3]);
156
- DEBUG_OUTPUT.print(" for ");
157
- DEBUG_OUTPUT.println(getDomainNameWithoutWwwPrefix());
+ #ifdef DEBUG_ESP_DNS
+ DEBUG_ESP_PORT.printf("DNS responds: %s for %s\n",
+ IPAddress(_resolvedIP).toString().c_str(), getDomainNameWithoutWwwPrefix().c_str() );
158
#endif
159
}
160
0 commit comments