Skip to content

Commit

Permalink
Backport esp8266#7586
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 17, 2020
1 parent bdf1933 commit 7534b07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cores/esp8266/IPAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ bool IPAddress::isValid(const char* arg) {
CONST IPAddress INADDR_ANY; // generic "0.0.0.0" for IPv4 & IPv6
const IPAddress INADDR_NONE(255,255,255,255);

void IPAddress::clear() {
(*this) = INADDR_ANY;
}

/**************************************/

#if LWIP_IPV6
Expand Down

0 comments on commit 7534b07

Please sign in to comment.