Skip to content

Commit

Permalink
Don't use underscores in DNS names
Browse files Browse the repository at this point in the history
mcspr committed Sep 9, 2020
1 parent 637297c commit 83a3745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JustWifi.cpp
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ JustWifi::JustWifi() {
_timeout = 0;
WiFi.enableAP(false);
WiFi.enableSTA(false);
snprintf_P(_hostname, sizeof(_hostname), PSTR("ESP_%06X"), ESP.getChipId());
snprintf_P(_hostname, sizeof(_hostname), PSTR("ESP-%06X"), ESP.getChipId());
}

JustWifi::~JustWifi() {

0 comments on commit 83a3745

Please sign in to comment.