We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728bb70 commit bdf1933Copy full SHA for bdf1933
cores/esp8266/IPAddress.cpp
@@ -32,7 +32,7 @@ IPAddress::IPAddress() {
32
}
33
34
bool IPAddress::isSet () const {
35
- return !ip_addr_isany(&_ip);
+ return !ip_addr_isany(&_ip) && ((*this) != IPADDR_NONE);
36
37
38
IPAddress::IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet) {
0 commit comments