Skip to content

Conversation

@nuttxs
Copy link
Contributor

@nuttxs nuttxs commented Dec 24, 2025

Summary

netutils/dhcpc.h: fix the compilation error caused by undefined CONFIG_NETDB_DNSSERVER_NAMESERVERS.
Provide a default value for CONFIG_NETDB_DNSSERVER_NAMESERVERS if CONFIG_NETDB_DNSCLIENT is not enabled.

Issue link:#3206 (comment)

Impact

New Feature/Change: Yes
User Impact: No
Build Impact:No new Kconfig options or build system changes.
Hardware Impact: No
Security: No
Compatibility: Backward-compatible; no breaking changes.

Testing

After re-running make, the dhcpc-related compilation errors have disappeared and the build has now progressed smoothly to the linking stage.

CONFIG_NETDB_DNSSERVER_NAMESERVERS

Provide a default value for CONFIG_NETDB_DNSSERVER_NAMESERVERS if
CONFIG_NETDB_DNSCLIENT is not enabled

Signed-off-by: nuttxs <zhaoqing.zhang@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant