net: ipv6: Fix RA RDNSS and DNS_RESOLVER interdependencies

A support for RDNSS option should not force DNS subsystem being enabled
in the system, especially that the option is enabled by default. It
should work the other way around - the option is supported only if DNS
was enabled by the user.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
Robert Lubos 2024-05-17 10:35:29 +02:00 committed by Johan Hedberg
commit 62a55d03af
2 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@ CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_NET_IPV6_ND=y
CONFIG_NET_IPV6_DAD=y
CONFIG_DNS_RESOLVER=y # To verify NET_IPV6_RA_RDNSS
CONFIG_NET_PKT_TX_COUNT=20
CONFIG_NET_PKT_RX_COUNT=20
CONFIG_NET_BUF_RX_COUNT=20