-
Notifications
You must be signed in to change notification settings - Fork 2k
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
net/dhcpv6 : Expose configurations to Kconfig #14599
Conversation
Expose configurations to Kconfig. Add conditional CFLAGS to avoid conflicts with Kconfig.
Add configuration 'CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX' to configuration group
@miri64 |
I guess I originally planned to support more than one server, but it is indeed not used. So we probably can remove it for now to avoid confusion. |
Remove unused macro 'DHCPV6_CLIENT_SERVER_MAX'
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Macro is generated correctly and documentation looks good. There are also no more occurrences of DHCPV6_CLIENT_SERVER_MAX
. ACK.
Contribution description
This PR exposes compile configurations in net/dhcpv6 to Kconfig.
Skipped
DHCPV6_CLIENT_SERVER_MAX
as its unused.Testing procedure
New documentation was built using Doxygen
The build works fine.
Test files were added to tests/net_dhcpv6/
The test file can be found here
Compiled binaries for native
examples/gnrc_border_router
Build works fine for native.
Default State:
Firmware Output
Usage with CFLAGS :
Firmware Output
Usage with menuconfig :
make menuconfig
Default values
Macros Configured output
MACROS were successfully configured.
Issues/PRs references
#12888