Skip to content

Commit

Permalink
Use port variable
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed Sep 5, 2024
1 parent 6fa5511 commit 7ffbd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WifiESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down

0 comments on commit 7ffbd9d

Please sign in to comment.