Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clear method to IPAddress #7586

Merged
merged 2 commits into from
Sep 9, 2020
Merged

Add clear method to IPAddress #7586

merged 2 commits into from
Sep 9, 2020

Conversation

ruggi99
Copy link
Contributor

@ruggi99 ruggi99 commented Sep 8, 2020

Added clear method to IPAddress class that will set the ip to INADDR_ANY (aka 0.0.0.0).
That's because INADDR_ANY and INADDR_NONE confuse me, and every time I don't remember which is which.
This method will help me (and others?) a lot.

@d-a-v d-a-v merged commit a460cb7 into esp8266:master Sep 9, 2020
@ruggi99 ruggi99 deleted the add-clear-to-ipaddress branch September 9, 2020 11:03
Jason2866 added a commit to Jason2866/Arduino that referenced this pull request Sep 17, 2020
Jason2866 added a commit to Jason2866/Arduino that referenced this pull request Sep 17, 2020
Jason2866 added a commit to Jason2866/Tasmota that referenced this pull request Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants