1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 15:46:14 +01:00

Use port variable

This commit is contained in:
Harald Barth 2024-09-05 13:01:54 +02:00
parent 6fa5511670
commit 7ffbd9d0e8

View File

@ -265,7 +265,7 @@ bool WifiESP::setup(const char *SSid,
if(!MDNS.begin(hostname)) {
DIAG(F("Wifi setup failed to start mDNS"));
}
if(!MDNS.addService("withrottle", "tcp", 2560)) {
if(!MDNS.addService("withrottle", "tcp", port)) {
DIAG(F("Wifi setup failed to add withrottle service to mDNS"));
}