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

Ethernet - allow return to DHCP after begin with static IP #823

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

JAndrassy
Copy link
Contributor

the begin for DHCP didn't set dhcp to true. the same function was used internally from begin for static IP.
this PR separates a private _begin from begin for DHCP and sets dhcp to true in the public begin for DHCP.

tested with LegacyEthernetTest

@facchinm facchinm merged commit 31f8045 into arduino:main Jan 24, 2024
11 checks passed
@JAndrassy JAndrassy deleted the ethernet_return_to_dhcp branch January 24, 2024 18:59
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.

2 participants