masc2008 opened a new pull request, #3451: URL: https://github.com/apache/nuttx-apps/pull/3451
## Summary - request and parse DHCP option 42 in `dhcpc` - store DHCP-provided IPv4 NTP server addresses in `struct dhcpc_state` - pass the learned NTP server list through DHCP IPv4 bring-up - let `ntpc` fall back to DHCP-provided servers when `CONFIG_NETUTILS_NTPCLIENT_SERVER` is empty - keep configured NTP servers as the highest-priority source ## Impact - Is new feature added? YES, `ntpc` can now use DHCP-provided NTP servers. - Impact on user (will user need to adapt to change)? NO. - Impact on build (will build process change)? NO. - Impact on hardware (will arch(s) / board(s) / driver(s) change)? NO. - Impact on documentation (is update required / provided)? NO. - Impact on security (any sort of implications)? NO. - Impact on compatibility (backward/forward/interoperability)? NO. Configured NTP servers still take precedence. - Anything else to consider or add? DHCP fallback is used only when `CONFIG_NETUTILS_NTPCLIENT_SERVER` is empty. ## Testing I confirm that changes are verified on local setup: - Build Host(s): Linux x86_64, GCC 13.4.0 toolchain - Target(s): `arm/qemu-armv7a:full` - `../nuttx/tools/checkpatch.sh -m -g HEAD~2..HEAD` - local integration build against the matching NuttX tree progressed through final link for `arm/qemu-armv7a:full` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
