mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Use port variable
This commit is contained in:
parent
6fa5511670
commit
7ffbd9d0e8
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user