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

Fixed setting DHCP hostname in STA+AP mode. #1088

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

fadushin
Copy link
Collaborator

@fadushin fadushin commented Mar 2, 2024

This PR fixes a bug that would cause the DHCP hostname to not get properly set when the device is configured in STA+AP mode. As a consequence, the default DHCP hostname (espressif) would be used, which would obviously be problematic on a network running multiple IoT devices.

With this fix, the DCHP hostname is properly set, both in AP and STA modes, and in fact can be set differently in config, if desired.

Closes #1084.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Signed-off-by: Fred Dushin <fred@dushin.net>
@bettio bettio merged commit e678dc0 into atomvm:release-0.6 Mar 2, 2024
11 checks passed
@fadushin fadushin deleted the esp32-dhcp-hostname-fix branch March 3, 2024 15:51
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